Exemple #1
0
 /// <summary>
 /// Create a new UserInfo object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="birthDate">Initial value of the BirthDate property.</param>
 /// <param name="cityId">Initial value of the CityId property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="socialIssuedDate">Initial value of the SocialIssuedDate property.</param>
 public static UserInfo CreateUserInfo(global::System.Int32 id, global::System.Int32 userId, global::System.DateTime birthDate, global::System.Int32 cityId, global::System.DateTime startDate, global::System.DateTime socialIssuedDate)
 {
     UserInfo userInfo = new UserInfo();
     userInfo.Id = id;
     userInfo.UserId = userId;
     userInfo.BirthDate = birthDate;
     userInfo.CityId = cityId;
     userInfo.StartDate = startDate;
     userInfo.SocialIssuedDate = socialIssuedDate;
     return userInfo;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserInfoes(UserInfo userInfo)
 {
     base.AddObject("UserInfoes", userInfo);
 }