Beispiel #1
0
        private SqlConnection OpenSession(int timeout = -1)
        {
            var cs      = ConnectionString;
            var session = AdoNet.ConnectToConfiguredSql(cs.Name, timeout);

            return(session);
        }
Beispiel #2
0
        protected override SqlConnection OpenSession(int timeout = -1)
        {
            var session = AdoNet.ConnectToConfiguredSql(_csn, timeout);

            return(session);
        }