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