Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the webpages_Roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTowebpages_Roles(webpages_Roles webpages_Roles)
 {
     base.AddObject("webpages_Roles", webpages_Roles);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new webpages_Roles object.
 /// </summary>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="roleName">Initial value of the RoleName property.</param>
 public static webpages_Roles Createwebpages_Roles(global::System.Int32 roleId, global::System.String roleName)
 {
     webpages_Roles webpages_Roles = new webpages_Roles();
     webpages_Roles.RoleId = roleId;
     webpages_Roles.RoleName = roleName;
     return webpages_Roles;
 }