DevForce Help Reference
EntityMetadata Class Methods


For a list of all members of this type, see EntityMetadata members.

Public Methods
 NameDescription
Public MethodAuthorizeQuery Called by the IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor to authorize the query.  
Public MethodAuthorizeSave Called by the IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor to authorize the save operation.  
Public MethodCreateEntity Creates a new entity of the type describe by this metadata item.  
Public Methodstatic (Shared in Visual Basic)DevForceDefaultValueFunction Returns the default value of a type: usually '0' or null for any data type. Note that this is subtly different from the TypeFns.GetDefaultValue method in that it returns Today for a default date time.  
Public MethodEquals (Inherited from object)
Public MethodGetClientQueryPermissions Returns client query permissions for this type for this principal or null if no permissions specified.  
Public Methodstatic (Shared in Visual Basic)GetDataSourceKeyName DataSourceKey comes from attribute on Entity subtype  
Public Methodstatic (Shared in Visual Basic)GetDefaultEntitySetNameFromAttrReturns any DefaultEntitySetName from any DefaultEntitySetNameAttribute on the Entity subtype.  
Public Methodstatic (Shared in Visual Basic)GetDefaultValue Returns the default value for a simple type.  
Public MethodGetHashCodeServes as the default hash function.  
Public MethodGetType (Inherited from object)
Public Methodstatic (Shared in Visual Basic)HasAnyConcreteEntityBaseTypes Does this entity type have any base types that are concrete.  
Public Methodstatic (Shared in Visual Basic)IsComplexType Returns true if the type represents a ComplexObject.  
Public Methodstatic (Shared in Visual Basic)IsEntityTypeReturns true if the specified type is an entity type or has a KeyAttribute defined.  
Public Methodstatic (Shared in Visual Basic)IsMappedEntityType Returns whether the specified type is mapped to the backend database via EF.  
Public MethodToString (Inherited from object)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
See Also

Reference

EntityMetadata Class
IdeaBlade.EntityModel Namespace

Send Feedback