/// <summary> /// Create a new DBBadgeAssignment object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="typeId">Initial value of the TypeId property.</param> /// <param name="habboId">Initial value of the HabboId property.</param> /// <param name="slot">Initial value of the Slot property.</param> public static DBBadgeAssignment CreateDBBadgeAssignment(global::System.Int32 id, global::System.Int32 typeId, global::System.Int32 habboId, global::System.String slot) { DBBadgeAssignment dBBadgeAssignment = new DBBadgeAssignment(); dBBadgeAssignment.Id = id; dBBadgeAssignment.TypeId = typeId; dBBadgeAssignment.HabboId = habboId; dBBadgeAssignment.Slot = slot; return dBBadgeAssignment; }
/// <summary> /// Deprecated Method for adding a new object to the BadgeAssignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBadgeAssignments(DBBadgeAssignment dBBadgeAssignment) { base.AddObject("BadgeAssignments", dBBadgeAssignment); }