namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Specifies that this column belongs to another table.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, Inherited = false)]
public class OriginAttribute : Attribute
name | description |
---|---|
OriginAttribute(…) | Initializes a new instance of the OriginAttribute class. (2 constructors) |
Join { get; } | Gets the join alias or the property name of the field to read join alias from via LeftJoin attribute. |
Property { get; set; } | Gets or sets the property. |
- Source: OriginAttribute.cs