예제 #1
0
 /// <summary>
 /// 用于向 tblRole EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotblRole(tblRole tblRole)
 {
     base.AddObject("tblRole", tblRole);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 tblRole 对象。
 /// </summary>
 /// <param name="roleID">RoleID 属性的初始值。</param>
 /// <param name="createdByID">CreatedByID 属性的初始值。</param>
 /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param>
 /// <param name="ownerID">OwnerID 属性的初始值。</param>
 /// <param name="isDeleted">IsDeleted 属性的初始值。</param>
 /// <param name="systemModstamp">SystemModstamp 属性的初始值。</param>
 public static tblRole CreatetblRole(global::System.Guid roleID, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate, global::System.Guid ownerID, global::System.Boolean isDeleted, global::System.DateTime systemModstamp)
 {
     tblRole tblRole = new tblRole();
     tblRole.RoleID = roleID;
     tblRole.CreatedByID = createdByID;
     tblRole.LastModifiedByID = lastModifiedByID;
     tblRole.CreatedDate = createdDate;
     tblRole.LastModifiedDate = lastModifiedDate;
     tblRole.OwnerID = ownerID;
     tblRole.IsDeleted = isDeleted;
     tblRole.SystemModstamp = systemModstamp;
     return tblRole;
 }