convert to entity framework - "CREATE TABLE [dbo].Element NOT NULL, [Description]…
- User
convert to entity framework - "CREATE TABLE [dbo].[Element]( [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] varchar NOT NULL, [Description] nvarchar NULL, [ElementTemplateId] [uniqueidentifier] NOT NULL, [Code] nvarchar NULL, [ModelId] [uniqueidentifier] NULL, [Source] nvarchar NULL)"
- Assistant
public class Element { [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 ElementTemplateId { get; set; } public string Code { get; set; } public Guid? ModelId { get; set; } public string Source { get; set; } }