C# 클래스 Northwind.Utils.ReflectionEntityCloner

상속: IProviderEntityCloner
파일 보기 프로젝트 열기: object/NorthwindOData

공개 메소드들

메소드 설명
AddEntity ( object entity, string entityTypeName ) : void
AddLink ( object entity, string propertyName, object linkedEntity ) : void
CreateEntityInstance ( Type entityType ) : object
GetEntityType ( string entityTypeName ) : Type
SaveChanges ( ) : void
SetLink ( object entity, string propertyName, object linkedEntity ) : void
SetProperty ( object entity, string propertyName, object propertyValue ) : void
UpdateEntity ( object entity ) : void

비공개 메소드들

메소드 설명
ConvertValue ( object value, Type conversionType ) : object

메소드 상세

AddEntity() 공개 추상적인 메소드

public abstract AddEntity ( object entity, string entityTypeName ) : void
entity object
entityTypeName string
리턴 void

AddLink() 공개 메소드

public AddLink ( object entity, string propertyName, object linkedEntity ) : void
entity object
propertyName string
linkedEntity object
리턴 void

CreateEntityInstance() 공개 메소드

public CreateEntityInstance ( Type entityType ) : object
entityType System.Type
리턴 object

GetEntityType() 공개 메소드

public GetEntityType ( string entityTypeName ) : Type
entityTypeName string
리턴 System.Type

SaveChanges() 공개 추상적인 메소드

public abstract SaveChanges ( ) : void
리턴 void

SetLink() 공개 메소드

public SetLink ( object entity, string propertyName, object linkedEntity ) : void
entity object
propertyName string
linkedEntity object
리턴 void

SetProperty() 공개 메소드

public SetProperty ( object entity, string propertyName, object propertyValue ) : void
entity object
propertyName string
propertyValue object
리턴 void

UpdateEntity() 공개 추상적인 메소드

public abstract UpdateEntity ( object entity ) : void
entity object
리턴 void