コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShortCodeSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShortCodeSettings(ShortCodeSetting shortCodeSetting)
 {
     base.AddObject("ShortCodeSettings", shortCodeSetting);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ShortCodeSetting object.
 /// </summary>
 /// <param name="shortCodeSettingID">Initial value of the ShortCodeSettingID property.</param>
 /// <param name="accountID">Initial value of the AccountID property.</param>
 /// <param name="latestID">Initial value of the LatestID property.</param>
 /// <param name="dateFormat">Initial value of the DateFormat property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static ShortCodeSetting CreateShortCodeSetting(global::System.Int32 shortCodeSettingID, global::System.Int32 accountID, global::System.Int64 latestID, global::System.String dateFormat, global::System.Boolean isActive, global::System.String createdBy, global::System.DateTime dateCreated)
 {
     ShortCodeSetting shortCodeSetting = new ShortCodeSetting();
     shortCodeSetting.ShortCodeSettingID = shortCodeSettingID;
     shortCodeSetting.AccountID = accountID;
     shortCodeSetting.LatestID = latestID;
     shortCodeSetting.DateFormat = dateFormat;
     shortCodeSetting.IsActive = isActive;
     shortCodeSetting.CreatedBy = createdBy;
     shortCodeSetting.DateCreated = dateCreated;
     return shortCodeSetting;
 }