C# Class ExoModel.Json.JsonModelTypeProvider.JsonModelType

Inheritance: ReflectionModelType
Show file Open project: vc3/ExoModel

Private Properties

Property Type Description
JsonModelType System

Protected Methods

Method Description
GetId ( object instance ) : string
GetInstance ( string id ) : object
GetIsDeleted ( object instance ) : bool
GetIsModified ( object instance ) : bool
GetIsPendingDelete ( object instance ) : bool
SaveInstance ( ModelInstance modelInstance ) : void
SetIsPendingDelete ( object instance, bool isPendingDelete ) : void

Private Methods

Method Description
JsonModelType ( JsonEntityContext entityContext, string @namespace, Type type, string scope, string format ) : System

Method Details

GetId() protected method

protected GetId ( object instance ) : string
instance object
return string

GetInstance() protected method

protected GetInstance ( string id ) : object
id string
return object

GetIsDeleted() protected method

protected GetIsDeleted ( object instance ) : bool
instance object
return bool

GetIsModified() protected method

protected GetIsModified ( object instance ) : bool
instance object
return bool

GetIsPendingDelete() protected method

protected GetIsPendingDelete ( object instance ) : bool
instance object
return bool

SaveInstance() protected method

protected SaveInstance ( ModelInstance modelInstance ) : void
modelInstance ModelInstance
return void

SetIsPendingDelete() protected method

protected SetIsPendingDelete ( object instance, bool isPendingDelete ) : void
instance object
isPendingDelete bool
return void