Interface IDataSource
Data object source
Inherited Members
Namespace: XData.DataSource.Structure
Assembly: XData.docfx.dll
Syntax
public interface IDataSource : ICloneable
Properties
| Improve this Doc View SourceAlias
Source alias
Declaration
string Alias { get; }
Property Value
Type | Description |
---|---|
String |
IsBase
Base table flag
Declaration
bool IsBase { get; }
Property Value
Type | Description |
---|---|
Boolean |
SourceType
Source type
Declaration
DataSourceType SourceType { get; }
Property Value
Type | Description |
---|---|
DataSourceType |
Methods
| Improve this Doc View SourceGetField(String, String, out String, out String)
Returns property field
Declaration
IField GetField(string sourceAlias, string fieldName, out string alias, out string fullName)
Parameters
Type | Name | Description |
---|---|---|
String | sourceAlias | Source alias |
String | fieldName | Field name |
String | alias | Relative source alias |
String | fullName | Relative field full name |
Returns
Type | Description |
---|---|
IField | Field object |
GetField(String, out String, out String)
Returns property field
Declaration
IField GetField(string propertyName, out string alias, out string fieldName)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | Property name |
String | alias | Relative source alias |
String | fieldName | Relative field full name |
Returns
Type | Description |
---|---|
IField | Field object |
GetFields()
Returns selected fields
Declaration
IEnumerable<SelectedField> GetFields()
Returns
Type | Description |
---|---|
IEnumerable<SelectedField> | Selected fields list |
GetFields(Type)
Returns selected fields of subquery with type
Declaration
IEnumerable<SelectedField> GetFields(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Returns
Type | Description |
---|---|
IEnumerable<SelectedField> | Selected fields list |