Exemplo n.º 1
0
 public Target RemoveTarget(Target target)
 {
     target.AppId = this.Id;
     target.Delete();
     return target;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建一个新的 Target
 /// </summary>
 public static Target Create()
 {
     Target target = new Target();
     return target;
 }
Exemplo n.º 3
0
 public Target AddTarget(Target target)
 {
     target.AppId = this.Id;
     target.Save();
     return target;
 }