C# 클래스 Core2D.Data.Database.XDatabase

Records database.
상속: ObservableObject
파일 보기 프로젝트 열기: Core2D/Core2D 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Create ( string name, ImmutableArray columns, ImmutableArray records, string idColumnName = DefaultIdColumnName ) : XDatabase

Creates a new XDatabase instance.

Create ( string name, ImmutableArray columns, string idColumnName = DefaultIdColumnName ) : XDatabase

Creates a new XDatabase instance.

Create ( string name, string idColumnName = DefaultIdColumnName ) : XDatabase

Creates a new XDatabase instance.

FromFields ( string name, IEnumerable fields, string idColumnName = DefaultIdColumnName ) : XDatabase

Creates a new XDatabase instance.

Update ( XDatabase destination, XDatabase source, ImmutableArray &records ) : bool

Update the destination database using data from source database using Id column as identification.

XDatabase ( ) : System.Collections.Generic

Initializes a new instance of the XDatabase class.

메소드 상세

Create() 공개 정적인 메소드

Creates a new XDatabase instance.
public static Create ( string name, ImmutableArray columns, ImmutableArray records, string idColumnName = DefaultIdColumnName ) : XDatabase
name string The database name.
columns ImmutableArray The database columns.
records ImmutableArray The database records.
idColumnName string The Id column name.
리턴 XDatabase

Create() 공개 정적인 메소드

Creates a new XDatabase instance.
public static Create ( string name, ImmutableArray columns, string idColumnName = DefaultIdColumnName ) : XDatabase
name string The database name.
columns ImmutableArray The database columns.
idColumnName string The Id column name.
리턴 XDatabase

Create() 공개 정적인 메소드

Creates a new XDatabase instance.
public static Create ( string name, string idColumnName = DefaultIdColumnName ) : XDatabase
name string The database name.
idColumnName string The Id column name.
리턴 XDatabase

FromFields() 공개 정적인 메소드

Creates a new XDatabase instance.
public static FromFields ( string name, IEnumerable fields, string idColumnName = DefaultIdColumnName ) : XDatabase
name string The database name.
fields IEnumerable The fields collection.
idColumnName string The Id column name.
리턴 XDatabase

Update() 공개 정적인 메소드

Update the destination database using data from source database using Id column as identification.
public static Update ( XDatabase destination, XDatabase source, ImmutableArray &records ) : bool
destination XDatabase The destination database.
source XDatabase The source database.
records ImmutableArray The updated records from destination database.
리턴 bool

XDatabase() 공개 메소드

Initializes a new instance of the XDatabase class.
public XDatabase ( ) : System.Collections.Generic
리턴 System.Collections.Generic