示例#1
0
 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();
 }
示例#2
0
 public void Load(IList <TableTask> tasks)
 {
     Tasks = new TableTaskCollection();
     Tasks.Add(tasks);
 }