C# Class GSoft.Dynamite.Binding.EntitySchema

The schema for an entity.
Inheritance: IEntitySchema
显示文件 Open project: GSoft-SharePoint/Dynamite-2010

Protected Properties

Property Type Description
BindingDetails LinkedList

Public Methods

Method Description
FromEntity ( object sourceEntity, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : void

Fills the values from the entity properties.

ToEntity ( object targetEntity, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : void

Fills the entity from the values.

Protected Methods

Method Description
AddProperty ( EntityBindingDetail detail ) : void

Adds the property.

GetConversionArguments ( EntityBindingDetail bindingDetail, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : ConversionArguments

Gets the conversion arguments.

Method Details

AddProperty() protected method

Adds the property.
protected AddProperty ( EntityBindingDetail detail ) : void
detail EntityBindingDetail The detail.
return void

FromEntity() public method

Fills the values from the entity properties.
public FromEntity ( object sourceEntity, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : void
sourceEntity object /// The source entity. ///
values object>.IDictionary /// The values. ///
fieldCollection SPFieldCollection /// The field Collection. ///
web SPWeb /// The web. ///
return void

GetConversionArguments() protected method

Gets the conversion arguments.
protected GetConversionArguments ( EntityBindingDetail bindingDetail, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : ConversionArguments
bindingDetail EntityBindingDetail The binding detail.
values object>.IDictionary The values.
fieldCollection SPFieldCollection
web SPWeb
return ConversionArguments

ToEntity() public method

Fills the entity from the values.
public ToEntity ( object targetEntity, object>.IDictionary values, SPFieldCollection fieldCollection, SPWeb web ) : void
targetEntity object /// The target entity. ///
values object>.IDictionary /// The values. ///
fieldCollection SPFieldCollection /// The field Collection. ///
web SPWeb /// The web. ///
return void

Property Details

BindingDetails protected_oe property

The binding details.
protected LinkedList BindingDetails
return LinkedList