Class InnerViewAttribute
Data object inner view attribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class InnerViewAttribute : DataSourceAttribute
Examples
InnerView("H", typeof(DocLastChange))
Constructors
| Improve this Doc View SourceInnerViewAttribute(String, Type)
Data object inner view attribute
Declaration
public InnerViewAttribute(string alias, Type innerViewType)
Parameters
Type | Name | Description |
---|---|---|
String | alias | Inner view alias |
Type | innerViewType | Object type represents inner view structure |
Exceptions
Type | Condition |
---|---|
XDataRuntimeException | Inner view alias cannot be null or empty string |
XDataRuntimeException | Object type represents inner view structure cannot be null |
Properties
| Improve this Doc View SourceAlias
Inner view alias
Declaration
public override string Alias { get; protected set; }
Property Value
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceInnerViewType
Object type represents inner view structure
Declaration
public Type InnerViewType { get; }
Property Value
Type | Description |
---|---|
Type |
Type
Source type
Declaration
public override DataSourceType Type { get; }
Property Value
Type | Description |
---|---|
DataSourceType | InnerView |
Overrides
| Improve this Doc View SourceTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
Declaration
public override object TypeId { get; }
Property Value
Type | Description |
---|---|
Object | An Object that is a unique identifier for the attribute. |
Overrides
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)