convert to entity framework - "CREATE TABLE [dbo].ElementAttribute NOT NULL,…
- User
convert to entity framework - "CREATE TABLE [dbo].[ElementAttribute]( [ObjectId] [uniqueidentifier] NOT NULL, [ObjectTypeId] [uniqueidentifier] NOT NULL, [IsDeleted] [bit] NOT NULL, [CreationDate] [datetime] NOT NULL, [DeleteDate] [datetime] NOT NULL, [Ts] [timestamp] NOT NULL, [Name] nvarchar NOT NULL, [Description] nvarchar NULL, [DataReferenceId] [uniqueidentifier] NOT NULL, [DataReferenceProperties] [xml] NOT NULL, [ValueType] [int] NOT NULL, [UOMId] [uniqueidentifier] NOT NULL, [AttributeTemplateId] [uniqueidentifier] NULL, [ElementId] [uniqueidentifier] NOT NULL, [IsSynchronized] [bit] NOT NULL, [ParentId] [uniqueidentifier] NULL, [AttributePath] nvarchar NOT NULL, [DisplayDigits] [int] NOT NULL, [ModelId] [uniqueidentifier] NULL, [Source] nvarchar NULL)"
- Assistant
public class ElementAttribute { [Key] public Guid ObjectId { get; set; } public Guid ObjectTypeId { get; set; } public bool IsDeleted { get; set; } public DateTime CreationDate { get; set; } public DateTime DeleteDate { get; set; } public byte[] Ts { get; set; } public string Name { get; set; } public string Description { get; set; } public Guid DataReferenceId { get; set; } public string DataReferenceProperties { get; set; } public int ValueType { get; set; } public Guid UOMId { get; set; } public Guid? AttributeTemplateId { get; set; } public Guid ElementId { get; set; } public bool IsSynchronized { get; set; } public Guid? ParentId { get; set; } public string AttributePath { get; set; } public int DisplayDigits { get; set; } public Guid? ModelId { get; set; } public string Source { get; set; } }