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