Пример #1
0
 /// <summary>
 /// Create a new CONNECTION object.
 /// </summary>
 /// <param name="sYMBOL">Initial value of the SYMBOL property.</param>
 /// <param name="dEPARTURE_TIME">Initial value of the DEPARTURE_TIME property.</param>
 /// <param name="aRIVAL_TIME">Initial value of the ARIVAL_TIME property.</param>
 /// <param name="wEEKDAY">Initial value of the WEEKDAY property.</param>
 /// <param name="pRICE">Initial value of the PRICE property.</param>
 /// <param name="tICKETS">Initial value of the TICKETS property.</param>
 /// <param name="fROM_AIRPORT_SYMBOL">Initial value of the FROM_AIRPORT_SYMBOL property.</param>
 /// <param name="tO_AIRPORT_SYMBOL">Initial value of the TO_AIRPORT_SYMBOL property.</param>
 public static CONNECTION CreateCONNECTION(global::System.String sYMBOL, global::System.DateTime dEPARTURE_TIME, global::System.DateTime aRIVAL_TIME, global::System.String wEEKDAY, global::System.Decimal pRICE, global::System.Decimal tICKETS, global::System.String fROM_AIRPORT_SYMBOL, global::System.String tO_AIRPORT_SYMBOL)
 {
     CONNECTION cONNECTION = new CONNECTION();
     cONNECTION.SYMBOL = sYMBOL;
     cONNECTION.DEPARTURE_TIME = dEPARTURE_TIME;
     cONNECTION.ARIVAL_TIME = aRIVAL_TIME;
     cONNECTION.WEEKDAY = wEEKDAY;
     cONNECTION.PRICE = pRICE;
     cONNECTION.TICKETS = tICKETS;
     cONNECTION.FROM_AIRPORT_SYMBOL = fROM_AIRPORT_SYMBOL;
     cONNECTION.TO_AIRPORT_SYMBOL = tO_AIRPORT_SYMBOL;
     return cONNECTION;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CONNECTION EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCONNECTION(CONNECTION cONNECTION)
 {
     base.AddObject("CONNECTION", cONNECTION);
 }