Property | Type | Description | |
---|---|---|---|
GetBuddyClassAttributes | System.Attribute[] | ||
GetEntityTypes | IEnumerable |
||
GetObjectContext | IEntityContext | ||
GetStorage | Storage |
Method | Description | |
---|---|---|
EntityFrameworkModelTypeProvider ( Func | ||
EntityFrameworkModelTypeProvider ( string @namespace, Func |
Method | Description | |
---|---|---|
CreateModelType ( string @namespace, |
||
CreateReferenceProperty ( ModelType declaringType, System property, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, |
Overridden to allow the addition of buddy-class attributes to the list of attributes associated with the ModelType
|
|
CreateValueProperty ( ModelType declaringType, System property, string name, string label, string helptext, string format, bool isStatic, |
Overridden to allow the addition of buddy-class attributes to the list of attributes associated with the ModelType
|
|
GetUnderlyingType ( object instance ) : |
Method | Description | |
---|---|---|
GetBuddyClassAttributes ( ModelType declaringType, System property ) : System.Attribute[] |
Fetches any attributes on matching properties in an entity's "buddy class"
|
|
GetEntityTypes ( object context ) : IEnumerable |
||
GetObjectContext ( ) : IEntityContext | ||
GetStorage ( ) : Storage |
Gets thread static or HttpContext storage for the ModelContext.
|
protected CreateModelType ( string @namespace, |
||
@namespace | string | |
type | ||
format | string | |
return | ReflectionModelType |
protected CreateReferenceProperty ( ModelType declaringType, System property, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, |
||
declaringType | ModelType | |
property | System | |
name | string | |
label | string | |
helptext | string | |
format | string | |
isStatic | bool | |
propertyType | ModelType | |
isList | bool | |
isReadOnly | bool | |
isPersisted | bool | |
attributes | ||
return | ModelReferenceProperty |
protected CreateValueProperty ( ModelType declaringType, System property, string name, string label, string helptext, string format, bool isStatic, |
||
declaringType | ModelType | |
property | System | |
name | string | |
label | string | |
helptext | string | |
format | string | |
isStatic | bool | |
propertyType | ||
converter | ||
isList | bool | |
isReadOnly | bool | |
isPersisted | bool | |
attributes | ||
return | ModelValueProperty |
public EntityFrameworkModelTypeProvider ( Func | ||
createContext | Func | |
return | System |
public EntityFrameworkModelTypeProvider ( string @namespace, Func | ||
@namespace | string | |
createContext | Func | |
return | System |
protected GetUnderlyingType ( object instance ) : |
||
instance | object | |
return |