コード例 #1
0
ファイル: Time.Designer.cs プロジェクト: buddyleeski/ostrich
        /// <summary>
        /// Create a new UserReminderSetting object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="enabled">Initial value of the Enabled property.</param>
        /// <param name="frequency">Initial value of the Frequency property.</param>
        public static UserReminderSetting CreateUserReminderSetting(global::System.Int32 userId, global::System.Boolean enabled, global::System.Int32 frequency)
        {
            UserReminderSetting userReminderSetting = new UserReminderSetting();

            userReminderSetting.UserId    = userId;
            userReminderSetting.Enabled   = enabled;
            userReminderSetting.Frequency = frequency;
            return(userReminderSetting);
        }
コード例 #2
0
ファイル: Time.Designer.cs プロジェクト: buddyleeski/ostrich
 /// <summary>
 /// Deprecated Method for adding a new object to the UserReminderSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserReminderSettings(UserReminderSetting userReminderSetting)
 {
     base.AddObject("UserReminderSettings", userReminderSetting);
 }