public Table(TableTitle tableName, IAccount account) { Id = new BaseEntityId(Guid.NewGuid()); Name = tableName; CreateDate = DateTime.Now; AccountId = account.Id; State = TableState.Actual; Tasks = new TableTaskCollection(); }
public void Load(IList <TableTask> tasks) { Tasks = new TableTaskCollection(); Tasks.Add(tasks); }