Class PropertyBaseAttribute
Data property base attribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
public abstract class PropertyBaseAttribute : Attribute
Properties
| Improve this Doc View SourceFlags
Property flags
Declaration
public DataPropertyFlag Flags { get; set; }
Property Value
Type | Description |
---|---|
DataPropertyFlag |
See Also
| Improve this Doc View SourceIsLink
Property link flag
Declaration
public abstract bool IsLink { get; }
Property Value
Type | Description |
---|---|
Boolean |
NativeSqlType
Native SQL type name
Declaration
public string NativeSqlType { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Used to specify native SQL column type when conflicted with default type mapping
WARNING! May be not supported by database adapter!
OrderBy
Order by priority
Declaration
public int OrderBy { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
OrderByDesc
Order by desc flag
Declaration
public bool OrderByDesc { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Source
Source alias
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
String |
See Also
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)