Esempio n. 1
0
 /// <summary>
 /// Create a new DonateRecord object.
 /// </summary>
 /// <param name="recordId">Initial value of the RecordId property.</param>
 public static DonateRecord CreateDonateRecord(global::System.Int32 recordId)
 {
     DonateRecord donateRecord = new DonateRecord();
     donateRecord.RecordId = recordId;
     return donateRecord;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DonateRecords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDonateRecords(DonateRecord donateRecord)
 {
     base.AddObject("DonateRecords", donateRecord);
 }
Esempio n. 3
0
 public bool Add(DonateRecord model)
 {
     IDonateRecordRepository iDonateRecRepos = IoCContext.Container.Resolve<IDonateRecordRepository>();
     return iDonateRecRepos.Add(model, false) >0;
 }