OriginAttribute class

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Data

Specifies that this column belongs to another table.

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, Inherited = false)]
public class OriginAttribute : Attribute

Public Members

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.

See Also