C# Class Northwind.Utils.EntityCloner

显示文件 Open project: object/NorthwindOData Class Usage Examples

Public Methods

Method Description
CopyEntities ( ) : void
EntityCloner ( object sourceContext, IProviderEntityCloner destinationContext ) : System

Private Methods

Method Description
CopyEntityProperties ( object sourceObject, string entityTypeName ) : void
CopyEntityRelations ( object sourceObject, string entityTypeName, List entityRelations ) : void
CopyManyToManyRelation ( object sourceObject, string propertyName, object propertyValue ) : void
CopyManyToOneRelation ( object sourceObject, string propertyName, object propertyValue ) : void
CopyOneToManyRelation ( object sourceObject, string propertyName, object propertyValue ) : void
FindEntity ( object entity ) : object
GetPropertyRelationType ( PropertyInfo propertyInfo ) : PropertyRelationType
GetRelationProperties ( object sourceObject, Type referencedEntityType, PropertyRelationType relationType ) : IEnumerable
LinkEntities ( object entity, string propertyName, object linkedEntity, Action linkAction ) : void

Method Details

CopyEntities() public method

public CopyEntities ( ) : void
return void

EntityCloner() public method

public EntityCloner ( object sourceContext, IProviderEntityCloner destinationContext ) : System
sourceContext object
destinationContext IProviderEntityCloner
return System