Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Role EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRole(Role role)
 {
     base.AddObject("Role", role);
 }
Ejemplo n.º 2
0
 public void CreateRole(Role source)
 {
     context.Role.AddObject(source);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a new Role object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="role1">Initial value of the Role1 property.</param>
 public static Role CreateRole(global::System.Int32 id, global::System.String role1)
 {
     Role role = new Role();
     role.ID = id;
     role.Role1 = role1;
     return role;
 }