Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the professions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToprofessions(profession profession)
 {
     base.AddObject("professions", profession);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new profession object.
 /// </summary>
 /// <param name="profid">Initial value of the profid property.</param>
 /// <param name="uid">Initial value of the uid property.</param>
 public static profession Createprofession(global::System.Int32 profid, global::System.Int32 uid)
 {
     profession profession = new profession();
     profession.profid = profid;
     profession.uid = uid;
     return profession;
 }