Class TableInfo
Table information
Inherited Members
Namespace: XData.Database
Assembly: XData.docfx.dll
Syntax
[Serializable]
public class TableInfo : IEquatable<TableInfo>, ICloneable
Properties
| Improve this Doc View SourceFields
Table fields
Declaration
public List<FieldInfo> Fields { get; set; }
Property Value
Type | Description |
---|---|
List<FieldInfo> |
Name
Table name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceClone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
Object | A new object that is a copy of this instance. |
Equals(TableInfo)
Indicates whether the current object is equal to another object of the same type.
Declaration
public virtual bool Equals(TableInfo other)
Parameters
Type | Name | Description |
---|---|---|
TableInfo | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean | true if the current object is equal to the |
RefreshFields(String, IConfiguration)
Refresh table info
Declaration
public TableInfo RefreshFields(string context, IConfiguration cfg = null)
Parameters
Type | Name | Description |
---|---|---|
String | context | Context name |
IConfiguration | cfg | Configuration |
Returns
Type | Description |
---|---|
TableInfo | Refreshed table info |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |