Beispiel #1
0
 /// <summary>
 /// Create a new role object.
 /// </summary>
 /// <param name="user">Initial value of the User property.</param>
 /// <param name="role1">Initial value of the Role1 property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 public static role Createrole(global::System.String user, global::System.String role1, global::System.DateTime stamp)
 {
     role role = new role();
     role.User = user;
     role.Role1 = role1;
     role.stamp = stamp;
     return role;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToroles(role role)
 {
     base.AddObject("roles", role);
 }