You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
497 B
16 lines
497 B
using Connected.Entities.Annotations;
|
|
|
|
namespace Connected.Data.Annotations;
|
|
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
|
|
internal sealed class ColumnAttribute : MemberAttribute
|
|
{
|
|
public string? Name { get; set; }
|
|
public string? TableId { get; set; }
|
|
public string? DbType { get; set; }
|
|
public bool IsComputed { get; set; }
|
|
public bool IsPrimaryKey { get; set; }
|
|
public bool IsGenerated { get; set; }
|
|
public bool IsReadOnly { get; set; }
|
|
}
|