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.
|
|
|
|
using System.Data;
|
|
|
|
|
using Connected.Entities.Annotations;
|
|
|
|
|
|
|
|
|
|
namespace Connected.Data.Schema;
|
|
|
|
|
|
|
|
|
|
public interface ISchemaColumn
|
|
|
|
|
{
|
|
|
|
|
string? Name { get; }
|
|
|
|
|
DbType DataType { get; }
|
|
|
|
|
bool IsIdentity { get; }
|
|
|
|
|
bool IsUnique { get; }
|
|
|
|
|
bool IsIndex { get; }
|
|
|
|
|
bool IsPrimaryKey { get; }
|
|
|
|
|
bool IsVersion { get; }
|
|
|
|
|
string? DefaultValue { get; }
|
|
|
|
|
int MaxLength { get; }
|
|
|
|
|
bool IsNullable { get; }
|
|
|
|
|
string? Index { get; }
|
|
|
|
|
int Scale { get; }
|
|
|
|
|
int Precision { get; }
|
|
|
|
|
DateKind DateKind { get; }
|
|
|
|
|
BinaryKind BinaryKind { get; }
|
|
|
|
|
int DatePrecision { get; }
|
|
|
|
|
}
|