예제 #1
0
 /// <summary>
 /// 创建新的 MachineManageInfo 对象。
 /// </summary>
 /// <param name="manageDeptID">ManageDeptID 属性的初始值。</param>
 /// <param name="manageDeptName">ManageDeptName 属性的初始值。</param>
 /// <param name="parentID">ParentID 属性的初始值。</param>
 public static MachineManageInfo CreateMachineManageInfo(global::System.Int32 manageDeptID, global::System.String manageDeptName, global::System.Int32 parentID)
 {
     MachineManageInfo machineManageInfo = new MachineManageInfo();
     machineManageInfo.ManageDeptID = manageDeptID;
     machineManageInfo.ManageDeptName = manageDeptName;
     machineManageInfo.ParentID = parentID;
     return machineManageInfo;
 }
예제 #2
0
 /// <summary>
 /// 用于向 MachineManageInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToMachineManageInfo(MachineManageInfo machineManageInfo)
 {
     base.AddObject("MachineManageInfo", machineManageInfo);
 }