Skip to content

ForeignRowAttribute class

namespace: Serenity.Data.Mapping   assembly: Serenity.Net.Services

Determines the foreign key property on this row for a foreign row property. This is used to locate the FK property.

[AttributeUsage(AttributeTargets.Property)]
public sealed class ForeignRowAttribute : Attribute
parameter description
value The name of the FK property on this row.

Public Members

name description
ForeignRowAttribute(…) Determines the foreign key property on this row for a foreign row property. This is used to locate the FK property.
ForeignKeyProperty { get; } Gets the FK property name.

See Also