Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Report1 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReport1(Report1 report1)
 {
     base.AddObject("Report1", report1);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Report1 object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="timePeriodId">Initial value of the TimePeriodId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static Report1 CreateReport1(global::System.Int32 id, global::System.Int16 timePeriodId, global::System.String name, global::System.Boolean isActive)
 {
     Report1 report1 = new Report1();
     report1.Id = id;
     report1.TimePeriodId = timePeriodId;
     report1.Name = name;
     report1.IsActive = isActive;
     return report1;
 }