public static EntityType Create(IEntityTypeCreateIo input) { Debug.Assert(input.Id != null, "input.Id != null"); return(new EntityType(input.Id.Value) { Code = input.Code, Codespace = input.Codespace, DatabaseId = input.DatabaseId, Description = input.Description, DeveloperId = input.DeveloperId, IsCatalogued = input.IsCatalogued, Name = input.Name, EditHeight = input.EditHeight, EditWidth = input.EditWidth, SchemaName = input.SchemaName, TableName = input.TableName, SortCode = input.SortCode }); }
public static EntityType Create(IEntityTypeCreateIo input) { Debug.Assert(input.Id != null, "input.Id != null"); return new EntityType { Id = input.Id.Value, Code = input.Code, Codespace = input.Codespace, DatabaseId = input.DatabaseId, Description = input.Description, DeveloperId = input.DeveloperId, IsCatalogued = input.IsCatalogued, Name = input.Name, EditHeight = input.EditHeight, EditWidth = input.EditWidth, SchemaName = input.SchemaName, TableName = input.TableName, SortCode = input.SortCode }; }