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