Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the my_aspnet_sessioncleanup EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomy_aspnet_sessioncleanup(my_aspnet_sessioncleanup my_aspnet_sessioncleanup)
 {
     base.AddObject("my_aspnet_sessioncleanup", my_aspnet_sessioncleanup);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new my_aspnet_sessioncleanup object.
 /// </summary>
 /// <param name="lastRun">Initial value of the LastRun property.</param>
 /// <param name="intervalMinutes">Initial value of the IntervalMinutes property.</param>
 public static my_aspnet_sessioncleanup Createmy_aspnet_sessioncleanup(global::System.DateTime lastRun, global::System.Int32 intervalMinutes)
 {
     my_aspnet_sessioncleanup my_aspnet_sessioncleanup = new my_aspnet_sessioncleanup();
     my_aspnet_sessioncleanup.LastRun = lastRun;
     my_aspnet_sessioncleanup.IntervalMinutes = intervalMinutes;
     return my_aspnet_sessioncleanup;
 }