Ejemplo n.º 1
0
 /// <summary>
 /// Create a new UserProfession object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static UserProfession CreateUserProfession(global::System.Int16 id)
 {
     UserProfession userProfession = new UserProfession();
     userProfession.Id = id;
     return userProfession;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfession EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfession(UserProfession userProfession)
 {
     base.AddObject("UserProfession", userProfession);
 }
 private bool FilterUserProfession(UserProfession entity)
 {
     return (entity.Id == this.ProfessionId);
 }