C# Class Enterra.V8x1C.DOM.Session

Сессия 1C:Предприятие. Глобальный контекст (Session)
Inheritance: BaseObject
Mostrar archivo Open project: EnterraInc/1C-.Net-Adapter Class Usage Examples

Public Methods

Method Description
GetAvailableVersions ( ) : V8Version[]

Получить список установленных версий 1С:Предприятие

LoadObjectCache ( BaseSessionObject sessionObject ) : void

Load object cache

LoadObjectsCache ( IEnumerable sessionObjects ) : void

Load objects cache

SelectionToObjects ( ISelection selection ) : List

Selection to objects list

Session ( V8Version version, ConnectionSettings connectionSettings ) : System

Constructor

Session ( V8Version version, string connectionString ) : System

Constructor

ToXML ( object value ) : string

В XML

WriteXML ( XMLWriter xmlWriter, object value ) : void

ЗаписатьXML (WriteXML)

Private Methods

Method Description
CheckSession ( BaseSessionObject sessionObject ) : void
GetV8EnumInstance ( Enum enumValue ) : BaseSessionObject

Получить COM инстанс для Enum

NewObject ( string newObjectType ) : object

Создать (NewObject)

NewObject ( string newObjectType, object arg1 ) : object

Создать (NewObject)

ValueFromStringInternal ( string str ) : object

ЗначениеИзСтрокиВнутр (ValueFromStringInternal)

ValueToStringInternal ( object ptr ) : string

ЗначениеВСтрокуВнутр (ValueToStringInternal)

Method Details

GetAvailableVersions() public static method

Получить список установленных версий 1С:Предприятие
public static GetAvailableVersions ( ) : V8Version[]
return V8Version[]

LoadObjectCache() public method

Load object cache
public LoadObjectCache ( BaseSessionObject sessionObject ) : void
sessionObject BaseSessionObject
return void

LoadObjectsCache() public method

Load objects cache
public LoadObjectsCache ( IEnumerable sessionObjects ) : void
sessionObjects IEnumerable
return void

SelectionToObjects() public static method

Selection to objects list
public static SelectionToObjects ( ISelection selection ) : List
selection ISelection
return List

Session() public method

Constructor
public Session ( V8Version version, ConnectionSettings connectionSettings ) : System
version V8Version
connectionSettings Enterra.V8x1C.Routines.ConnectionSettings
return System

Session() public method

Constructor
public Session ( V8Version version, string connectionString ) : System
version V8Version
connectionString string
return System

ToXML() public method

В XML
public ToXML ( object value ) : string
value object
return string

WriteXML() public method

ЗаписатьXML (WriteXML)
public WriteXML ( XMLWriter xmlWriter, object value ) : void
xmlWriter XMLWriter
value object
return void