Exemplo n.º 1
0
 /// <summary>
 /// Create a new role object.
 /// </summary>
 /// <param name="role_id">Initial value of the role_id property.</param>
 /// <param name="person_id">Initial value of the person_id property.</param>
 /// <param name="movie_id">Initial value of the movie_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static role Createrole(global::System.Int32 role_id, global::System.Int32 person_id, global::System.Int32 movie_id, global::System.String name)
 {
     role role = new role();
     role.role_id = role_id;
     role.person_id = person_id;
     role.movie_id = movie_id;
     role.name = name;
     return role;
 }
Exemplo n.º 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);
 }