コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BadgeTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBadgeTypes(DBBadgeType dBBadgeType)
 {
     base.AddObject("BadgeTypes", dBBadgeType);
 }