Export (0) Print
Expand All
This topic has not yet been rated - 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).

  Class Description
Public class ComplexObject Base class for complex types.
Public class EdmComplexPropertyAttribute Attribute that indicates that the property represents a complex property.
Public class EdmComplexTypeAttribute Attribute that indicates that the class represents a complex type.
Public class EdmEntityTypeAttribute Attribute that indicates that the class represents an entity type.
Public class EdmEnumTypeAttribute Attribute indicating an enum type.
Public class EdmFunctionAttribute An attribute that, when applied to a method, indicates that the method is a proxy for a function in the conceptual model or storage model.
Public class EdmPropertyAttribute Base 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 class EdmRelationshipAttribute Defines a relationship between two entity types based on an association in the conceptual model.
Public class EdmRelationshipNavigationPropertyAttribute Attribute that indicates that the property represents a navigation property.
Public class EdmScalarPropertyAttribute Attribute that indicates that the property represents a scalar property.
Public class EdmSchemaAttribute Attribute that indicates that the assembly contains classes that are mapped to entity types in a conceptual model.
Public class EdmTypeAttribute Base class for attributes that define how types in the object layer are mapped to entity types and complex types in the conceptual model.
Public class EntityCollection<TEntity> Represents a collection of objects on the "many" end of a relationship.
Public class EntityObject Base class for entity types that are generated by the Entity Data Model tools.
Public class EntityReference Base class that implements non-generic functionality for an EntityReference<TEntity>.
Public class EntityReference<TEntity> Represents a related end of an association with a multiplicity of zero or one.
Public class RelatedEnd Represents a base class that implements common functionality for a related end.
Public class RelationshipManager Used to track relationships between objects in the object context.
Public class StructuralObject Represents a class that contains the common methods need for a date object.
  Interface Description
Public interface IEntityChangeTracker Defines the facilities that are used by Object Services to track changes that are made to the properties of an object.
Public interface IEntityWithChangeTracker Defines an entity type that implements change tracking.
Public interface IEntityWithKey Defines an entity type that exposes an entity key.
Public interface IEntityWithRelationships Defines an entity type with a relationship to one or more other entity type.
Public interface IRelatedEnd Defines the end of a relationship.
  Enumeration Description
Public enumeration RelationshipKind Enumerates the type of the relationship between two or more entities.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.