/// <summary> /// 创建新的 Sys_SightVouch 对象。 /// </summary> /// <param name="vouchID">VouchID 属性的初始值。</param> public static Sys_SightVouch CreateSys_SightVouch(global::System.Int32 vouchID) { Sys_SightVouch sys_SightVouch = new Sys_SightVouch(); sys_SightVouch.VouchID = vouchID; return sys_SightVouch; }
/// <summary> /// 用于向 Sys_SightVouch EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSys_SightVouch(Sys_SightVouch sys_SightVouch) { base.AddObject("Sys_SightVouch", sys_SightVouch); }