Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Recoveries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRecoveries(Recovery recovery)
 {
     base.AddObject("Recoveries", recovery);
 }
Пример #2
0
 /// <summary>
 /// Create a new Recovery object.
 /// </summary>
 /// <param name="recoveryGuid">Initial value of the RecoveryGuid property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="timeCreated">Initial value of the TimeCreated property.</param>
 public static Recovery CreateRecovery(global::System.Guid recoveryGuid, global::System.Guid userId, global::System.DateTime timeCreated)
 {
     Recovery recovery = new Recovery();
     recovery.RecoveryGuid = recoveryGuid;
     recovery.UserId = userId;
     recovery.TimeCreated = timeCreated;
     return recovery;
 }