Свойство | Тип | Описание | |
---|---|---|---|
GetBuddyClassAttributes | System.Attribute[] | ||
GetEntityTypes | IEnumerable |
||
GetObjectContext | IEntityContext | ||
GetStorage | Storage |
Метод | Описание | |
---|---|---|
EntityFrameworkModelTypeProvider ( Func | ||
EntityFrameworkModelTypeProvider ( string @namespace, Func |
Метод | Описание | |
---|---|---|
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 ) : |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | ||
Результат | 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 | ||
Результат | ModelValueProperty |
public EntityFrameworkModelTypeProvider ( Func | ||
createContext | Func | |
Результат | System |
public EntityFrameworkModelTypeProvider ( string @namespace, Func | ||
@namespace | string | |
createContext | Func | |
Результат | System |
protected GetUnderlyingType ( object instance ) : |
||
instance | object | |
Результат |