C# 클래스 System.Data.Tests.DataSetAssertion

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
AssertDataColumn ( string label, DataColumn col, string colName, bool allowDBNull, bool autoIncr, int autoIncrSeed, int autoIncrStep, string caption, MappingType colMap, Type type, object defaultValue, string expression, int maxLength, string ns, int ordinal, string prefix, bool readOnly, bool unique ) : void
AssertDataRelation ( string label, DataRelation rel, string name, bool nested, string parentColNames, string childColNames, bool existsUK, bool existsFK ) : void
AssertDataSet ( string label, DataSet ds, string name, int tableCount, int relCount ) : void
AssertDataTable ( string label, DataTable dt, string name, int columnCount, int rowCount, int parentRelationCount, int childRelationCount, int constraintCount, int primaryKeyLength ) : void
AssertForeignKeyConstraint ( string label, ForeignKeyConstraint fk, string name, AcceptRejectRule acceptRejectRule, Rule delRule, Rule updateRule, string colNames, string relColNames ) : void
AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount ) : void
AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount, ReadState state ) : void
AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount, ReadState state, string readerLocalName, string readerNS ) : void
AssertUniqueConstraint ( string label, UniqueConstraint uc, string name, bool isPrimaryKey, string colNames ) : void
GetNormalizedSchema ( string source ) : string

비공개 메소드들

메소드 설명
SortAttributes ( XmlElement el ) : void
SortAttributesAttributes ( XmlElement el ) : void

메소드 상세

AssertDataColumn() 공개 메소드

public AssertDataColumn ( string label, DataColumn col, string colName, bool allowDBNull, bool autoIncr, int autoIncrSeed, int autoIncrStep, string caption, MappingType colMap, Type type, object defaultValue, string expression, int maxLength, string ns, int ordinal, string prefix, bool readOnly, bool unique ) : void
label string
col DataColumn
colName string
allowDBNull bool
autoIncr bool
autoIncrSeed int
autoIncrStep int
caption string
colMap MappingType
type Type
defaultValue object
expression string
maxLength int
ns string
ordinal int
prefix string
readOnly bool
unique bool
리턴 void

AssertDataRelation() 공개 메소드

public AssertDataRelation ( string label, DataRelation rel, string name, bool nested, string parentColNames, string childColNames, bool existsUK, bool existsFK ) : void
label string
rel DataRelation
name string
nested bool
parentColNames string
childColNames string
existsUK bool
existsFK bool
리턴 void

AssertDataSet() 공개 메소드

public AssertDataSet ( string label, DataSet ds, string name, int tableCount, int relCount ) : void
label string
ds DataSet
name string
tableCount int
relCount int
리턴 void

AssertDataTable() 공개 메소드

public AssertDataTable ( string label, DataTable dt, string name, int columnCount, int rowCount, int parentRelationCount, int childRelationCount, int constraintCount, int primaryKeyLength ) : void
label string
dt DataTable
name string
columnCount int
rowCount int
parentRelationCount int
childRelationCount int
constraintCount int
primaryKeyLength int
리턴 void

AssertForeignKeyConstraint() 공개 메소드

public AssertForeignKeyConstraint ( string label, ForeignKeyConstraint fk, string name, AcceptRejectRule acceptRejectRule, Rule delRule, Rule updateRule, string colNames, string relColNames ) : void
label string
fk ForeignKeyConstraint
name string
acceptRejectRule AcceptRejectRule
delRule Rule
updateRule Rule
colNames string
relColNames string
리턴 void

AssertReadXml() 공개 메소드

public AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount ) : void
ds DataSet
label string
xml string
readMode XmlReadMode
resultMode XmlReadMode
datasetName string
tableCount int
리턴 void

AssertReadXml() 공개 메소드

public AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount, ReadState state ) : void
ds DataSet
label string
xml string
readMode XmlReadMode
resultMode XmlReadMode
datasetName string
tableCount int
state ReadState
리턴 void

AssertReadXml() 공개 메소드

public AssertReadXml ( DataSet ds, string label, string xml, XmlReadMode readMode, XmlReadMode resultMode, string datasetName, int tableCount, ReadState state, string readerLocalName, string readerNS ) : void
ds DataSet
label string
xml string
readMode XmlReadMode
resultMode XmlReadMode
datasetName string
tableCount int
state ReadState
readerLocalName string
readerNS string
리턴 void

AssertUniqueConstraint() 공개 메소드

public AssertUniqueConstraint ( string label, UniqueConstraint uc, string name, bool isPrimaryKey, string colNames ) : void
label string
uc UniqueConstraint
name string
isPrimaryKey bool
colNames string
리턴 void

GetNormalizedSchema() 공개 메소드

public GetNormalizedSchema ( string source ) : string
source string
리턴 string