C# Class SenseNet.ContentRepository.Storage.Data.SqlClient.FlatPropertyWriter

显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
Execute ( ) : void
FlatPropertyWriter ( int versionId ) : System
WriteCurrencyProperty ( decimal value, PropertyType type ) : void
WriteDateTimeProperty ( System.DateTime value, PropertyType type ) : void
WriteIntProperty ( int value, PropertyType type ) : void
WriteStringProperty ( string value, PropertyType type ) : void

Private Methods

Method Description
ExecuteScript ( string script, int versionId, int page, IEnumerable @params ) : void
GetExistingFlatPages ( int versionId ) : List
InsertPage ( int versionId, int page, SqlParameter>.Dictionary values ) : void
UpdatePage ( int versionId, int page, SqlParameter>.Dictionary values ) : void
WriteFlatProperty ( int totalIndex, int pageSize, string mappingPrefix, SqlDbType dataType, int dataSize, object value ) : void

Method Details

Execute() public method

public Execute ( ) : void
return void

FlatPropertyWriter() public method

public FlatPropertyWriter ( int versionId ) : System
versionId int
return System

WriteCurrencyProperty() public method

public WriteCurrencyProperty ( decimal value, PropertyType type ) : void
value decimal
type SenseNet.ContentRepository.Storage.Schema.PropertyType
return void

WriteDateTimeProperty() public method

public WriteDateTimeProperty ( System.DateTime value, PropertyType type ) : void
value System.DateTime
type SenseNet.ContentRepository.Storage.Schema.PropertyType
return void

WriteIntProperty() public method

public WriteIntProperty ( int value, PropertyType type ) : void
value int
type SenseNet.ContentRepository.Storage.Schema.PropertyType
return void

WriteStringProperty() public method

public WriteStringProperty ( string value, PropertyType type ) : void
value string
type SenseNet.ContentRepository.Storage.Schema.PropertyType
return void