Class FakeClassStructureInfo
Class structure info for testing purposes
public class FakeClassStructureInfo : ClassStructureInfo
- Inheritance
-
objectFakeClassStructureInfo
- Derived
- Inherited Members
- Extension Methods
Constructors
FakeClassStructureInfo(InfoFakeSettings)
Constructor
public FakeClassStructureInfo(InfoFakeSettings settings)
Parameters
settings
InfoFakeSettingsFake settings
Fields
NestedClasses
Nested class structures
public List<ClassStructureInfo> NestedClasses
Field Value
- List<ClassStructureInfo>
Properties
ClassName
Class name.
public string ClassName { get; set; }
Property Value
- string
ClassType
Class type
public Type ClassType { get; protected set; }
Property Value
- Type
IDColumn
ID column name.
public string IDColumn { get; set; }
Property Value
- string
Methods
AddNestedClass(ClassStructureInfo)
Adds the nested class to this class structure info
public void AddNestedClass(ClassStructureInfo nested)
Parameters
nested
ClassStructureInfoNested class
GetNewDataSet()
Gets new data structure for class data as a DataSet.
public override DataSet GetNewDataSet()
Returns
- DataSet
IncludeColumns(Type)
Includes the columns from the given type
public void IncludeColumns(Type type)
Parameters
type
TypeType from which the columns should be collected
RegisterColumn(string, Type)
Registers the given column within the structure info
public void RegisterColumn(string colName, Type colType)
Parameters
colName
stringColumn name
colType
TypeColumn type