コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Rolles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRolles(Rolle rolle)
 {
     base.AddObject("Rolles", rolle);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Rolle object.
 /// </summary>
 /// <param name="rolleID">Initial value of the RolleID property.</param>
 /// <param name="rollenname">Initial value of the Rollenname property.</param>
 public static Rolle CreateRolle(global::System.Int32 rolleID, global::System.String rollenname)
 {
     Rolle rolle = new Rolle();
     rolle.RolleID = rolleID;
     rolle.Rollenname = rollenname;
     return rolle;
 }