예제 #1
0
 /// <summary>
 /// 创建新的 Sys_DisCountInfo 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="classId">ClassId 属性的初始值。</param>
 /// <param name="fkId">FkId 属性的初始值。</param>
 /// <param name="isTop">IsTop 属性的初始值。</param>
 /// <param name="isVouch">IsVouch 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 /// <param name="state">State 属性的初始值。</param>
 /// <param name="isSort">IsSort 属性的初始值。</param>
 /// <param name="sortNum">SortNum 属性的初始值。</param>
 public static Sys_DisCountInfo CreateSys_DisCountInfo(global::System.Int32 id, global::System.Int32 classId, global::System.Int32 fkId, global::System.Int32 isTop, global::System.Int32 isVouch, global::System.Int32 isDelete, global::System.DateTime addTime, global::System.Int32 state, global::System.Int32 isSort, global::System.Int32 sortNum)
 {
     Sys_DisCountInfo sys_DisCountInfo = new Sys_DisCountInfo();
     sys_DisCountInfo.Id = id;
     sys_DisCountInfo.ClassId = classId;
     sys_DisCountInfo.FkId = fkId;
     sys_DisCountInfo.IsTop = isTop;
     sys_DisCountInfo.IsVouch = isVouch;
     sys_DisCountInfo.IsDelete = isDelete;
     sys_DisCountInfo.AddTime = addTime;
     sys_DisCountInfo.State = state;
     sys_DisCountInfo.IsSort = isSort;
     sys_DisCountInfo.SortNum = sortNum;
     return sys_DisCountInfo;
 }
예제 #2
0
 /// <summary>
 /// 用于向 Sys_DisCountInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_DisCountInfo(Sys_DisCountInfo sys_DisCountInfo)
 {
     base.AddObject("Sys_DisCountInfo", sys_DisCountInfo);
 }