コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TblSessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTblSessions(TblSession tblSession)
 {
     base.AddObject("TblSessions", tblSession);
 }
コード例 #2
0
 /// <summary>
 /// Create a new TblSession object.
 /// </summary>
 /// <param name="sessionId">Initial value of the SessionId property.</param>
 /// <param name="sessionCode">Initial value of the SessionCode property.</param>
 /// <param name="companyId">Initial value of the CompanyId property.</param>
 public static TblSession CreateTblSession(global::System.Int32 sessionId, global::System.String sessionCode, global::System.Int32 companyId)
 {
     TblSession tblSession = new TblSession();
     tblSession.SessionId = sessionId;
     tblSession.SessionCode = sessionCode;
     tblSession.CompanyId = companyId;
     return tblSession;
 }