/// <summary> /// Create a new DBBadgeType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="code">Initial value of the Code property.</param> public static DBBadgeType CreateDBBadgeType(global::System.Int32 id, global::System.String code) { DBBadgeType dBBadgeType = new DBBadgeType(); dBBadgeType.Id = id; dBBadgeType.Code = code; return dBBadgeType; }
/// <summary> /// Deprecated Method for adding a new object to the BadgeTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBadgeTypes(DBBadgeType dBBadgeType) { base.AddObject("BadgeTypes", dBBadgeType); }