Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

System.Data.Objects.DataClasses Namespace

The System.Data.Objects.DataClasses namespace includes classes that are base classes for types that are defined in an Entity Data Model (EDM), base classes for the types that are returned by navigation properties, and classes that define attributes that map common language runtime (CLR) objects to types in the conceptual model.

Entity Data Model tools use the conceptual model file to generate data classes that derive from classes in this namespace. For more information, see Object Services Overview (Entity Framework). Custom data classes can inherit from classes in this namespace. The System.Data.Objects.DataClasses namespace also includes interfaces that are used to implement custom data classes without inheriting from Entity Framework classes. For more information, see Customizing Objects (Entity Framework).

  ClassDescription
Public classComplexObjectBase class for complex types.
Public classEdmComplexPropertyAttributeAttribute that indicates that the property represents a complex property.
Public classEdmComplexTypeAttributeAttribute that indicates that the class represents a complex type.
Public classEdmEntityTypeAttributeAttribute that indicates that the class represents an entity type.
Public classEdmPropertyAttributeBase class for attributes that define how properties of types in the object layer are mapped to the properties of entity types or complex types in the conceptual model.
Public classEdmRelationshipAttributeDefines a relationship between two entity types based on an association in the conceptual model.
Public classEdmRelationshipNavigationPropertyAttributeAttribute that indicates that the property represents a navigation property.
Public classEdmScalarPropertyAttributeAttribute that indicates that the property represents a scalar property.
Public classEdmSchemaAttributeAttribute that indicates that the assembly contains classes that are mapped to entity types in a conceptual model.
Public classEdmTypeAttributeBase class for attributes that define how types in the object layer are mapped to entity types and complex types in the conceptual model.
Public classEntityCollection<TEntity>Represents a collection of objects on the "many" end of a relationship.
Public classEntityObjectBase class for entity types that are generated by the Entity Data Model tools.
Public classEntityReferenceBase class that implements non-generic functionality for an EntityReference<TEntity>.
Public classEntityReference<TEntity>Represents a related end of an association with a multiplicity of zero or one.
Public classRelatedEndBase class that implements common functionality for a related end.
Public classRelationshipManagerUsed to track relationships between objects in the object context.
Public classStructuralObjectProvides support for code generation in the form of helper methods that are used to set field values for properties.
  InterfaceDescription
Public interfaceIEntityChangeTrackerDefines the facilities that are used by Object Services to track changes that are made to the properties of an object.
Public interfaceIEntityWithChangeTrackerDefines an entity type that implements change tracking.
Public interfaceIEntityWithKeyDefines an entity type that exposes an entity key.
Public interfaceIEntityWithRelationshipsDefines an entity type with a relationship to one or more other entity type.
Public interfaceIRelatedEndDefines the end of a relationship.
  EnumerationDescription
Public enumerationRelationshipKindEnumerates the type of the relationship between two or more entities.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.