Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Penalities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPenalities(Penality penality)
 {
     base.AddObject("Penalities", penality);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Penality object.
 /// </summary>
 /// <param name="penalityID">Initial value of the PenalityID property.</param>
 /// <param name="sessionID">Initial value of the SessionID property.</param>
 /// <param name="rFID">Initial value of the RFID property.</param>
 public static Penality CreatePenality(global::System.Int32 penalityID, global::System.Int64 sessionID, global::System.Int64 rFID)
 {
     Penality penality = new Penality();
     penality.PenalityID = penalityID;
     penality.SessionID = sessionID;
     penality.RFID = rFID;
     return penality;
 }