DevForce Help Reference
EntityMetadata Class Members
Properties  Methods 


The following tables list the members exposed by EntityMetadata.

Public Properties
 NameDescription
Public PropertyCanQueryByEntityKey Gets whether primary key queries are allowed.  
Public PropertyComplexTypeProperties Returns a collection of EntityProperties that describe complex object properties for entities of this type.  
Public PropertyConcurrencyProperties Returns a collection of EntityProperties that are concurrency properties for entities of this type.  
Public PropertyDataProperties Returns a collection of DataEntityProperties for entities of this type in Ordinal order.  
Public PropertyDataSourceKeyName Gets the data source key name.  
Public PropertyDefaultEntityContainerName The default EntityContainerName for entities of this type.  
Public PropertyDefaultEntitySetName The default EntitySetName for entities of this type.  
Public Propertystatic (Shared in Visual Basic)DefaultValueFunction Use to override how DevForce sets the default value for a data entity property.  
Public PropertyEntityProperties Returns a collection of EntityProperties that belong to entities of this type.  
Public PropertyEntityType Gets the Type of the entity.  
Public PropertyForeignKeyProperties Returns a collection of ForegnKey EntityProperties  
Public PropertyHasStoreGeneratedId Returns whether this entity type has a store generated id.  
Public PropertyIsCodeFirst Whether this metadata was created via CodeFirst.  
Public PropertyIsComplexObjectTypeReturns whether this metadata describes a IComplexObject.  
Public PropertyKeyProperties Returns a collection of EntityProperties that are keys for entities of this type.  
Public PropertyListNavigationProperties Returns a collection of ListNavigationEntityProperties for entities of this type.  
Public PropertyNavigationProperties Returns a collection of NavigationEntityProperties for entities of this type.  
Public PropertyNullEntityGroup Gets a Null EntityGroup.  
Public PropertyScalarNavigationProperties Returns a collection of ListNavigationEntityProperties for entities of this type.  
Top
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