示例#1
0
文件: App.cs 项目: yhhno/Membership
 public Target RemoveTarget(Target target)
 {
     target.AppId = this.Id;
     target.Delete();
     return target;
 }
示例#2
0
 /// <summary>
 /// 创建一个新的 Target
 /// </summary>
 public static Target Create()
 {
     Target target = new Target();
     return target;
 }
示例#3
0
文件: App.cs 项目: yhhno/Membership
 public Target AddTarget(Target target)
 {
     target.AppId = this.Id;
     target.Save();
     return target;
 }