コード例 #1
0
 /// <summary>
 /// Create a new DBHabbo object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="loginId">Initial value of the LoginId property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="figureString">Initial value of the FigureString property.</param>
 /// <param name="rawSwimColour">Initial value of the RawSwimColour property.</param>
 /// <param name="figureGender">Initial value of the FigureGender property.</param>
 /// <param name="motto">Initial value of the Motto property.</param>
 /// <param name="credits">Initial value of the Credits property.</param>
 /// <param name="pixels">Initial value of the Pixels property.</param>
 public static DBHabbo CreateDBHabbo(global::System.Int32 id, global::System.Int32 loginId, global::System.String username, global::System.DateTime dateCreated, global::System.String figureString, global::System.Byte[] rawSwimColour, global::System.Boolean figureGender, global::System.String motto, global::System.Int32 credits, global::System.Int32 pixels)
 {
     DBHabbo dBHabbo = new DBHabbo();
     dBHabbo.Id = id;
     dBHabbo.LoginId = loginId;
     dBHabbo.Username = username;
     dBHabbo.DateCreated = dateCreated;
     dBHabbo.FigureString = figureString;
     dBHabbo.RawSwimColour = rawSwimColour;
     dBHabbo.FigureGender = figureGender;
     dBHabbo.Motto = motto;
     dBHabbo.Credits = credits;
     dBHabbo.Pixels = pixels;
     return dBHabbo;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Habbos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHabbos(DBHabbo dBHabbo)
 {
     base.AddObject("Habbos", dBHabbo);
 }