Skip to content

UserIdJoinKeyAttribute class

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

Declares that the the join key (ForeignKeyAttribute) for this property should be based on UserEntityOptions, e.g. use its TableName and IdColumnName properties.

[AttributeUsage(AttributeTargets.Property, Inherited = false)]
public class UserIdJoinKeyAttribute : ForeignKeyAttribute

Public Members

name description
UserIdJoinKeyAttribute() Declares that the the join key (ForeignKeyAttribute) for this property should be based on UserEntityOptions, e.g. use its TableName and IdColumnName properties.

See Also