/// <summary> /// Create a new Connection object. /// </summary> /// <param name="code">Initial value of the Code property.</param> /// <param name="terminalCode">Initial value of the TerminalCode property.</param> /// <param name="stamp">Initial value of the Stamp property.</param> public static Connection CreateConnection(global::System.String code, global::System.Int32 terminalCode, global::System.DateTime stamp) { Connection connection = new Connection(); connection.Code = code; connection.TerminalCode = terminalCode; connection.Stamp = stamp; return connection; }
/// <summary> /// Deprecated Method for adding a new object to the Connections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConnections(Connection connection) { base.AddObject("Connections", connection); }