Here are the examples of the csharp api class Dos.ORM.Database.CloseConnection(System.Data.Common.DbTransaction) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
6 Examples
0
1. Example
Project: Dos.ORM
Source File: DbSession.cs
Source File: DbSession.cs
public void CloseTransaction(DbTransaction tran) { db.CloseConnection(tran); }
0
2. Example
Project: Dos.ORM
Source File: DbSession.cs
Source File: DbSession.cs
public void CloseTransaction(DbTransaction tran) { db.CloseConnection(tran); }
0
3. Example
Project: Dos.ORM
Source File: DbSession.cs
Source File: DbSession.cs
public void CloseTransaction(DbTransaction tran) { db.CloseConnection(tran); }
0
4. Example
Project: Dos.ORM
Source File: BatchCommander.cs
Source File: BatchCommander.cs
public void Close() { try { ExecuteBatch(); if (tran != null && (!isUsingOutsideTransaction)) { tran.Commit(); } } catch { if (tran != null && (!isUsingOutsideTransaction)) { tran.Rollback(); } throw; } finally { if (tran != null && (!isUsingOutsideTransaction)) { db.CloseConnection(tran); } } }
0
5. Example
Project: Dos.ORM
Source File: BatchCommander.cs
Source File: BatchCommander.cs
public void Close() { try { ExecuteBatch(); if (tran != null && (!isUsingOutsideTransaction)) { tran.Commit(); } } catch { if (tran != null && (!isUsingOutsideTransaction)) { tran.Rollback(); } throw; } finally { if (tran != null && (!isUsingOutsideTransaction)) { db.CloseConnection(tran); } } }
0
6. Example
Project: Dos.ORM
Source File: BatchCommander.cs
Source File: BatchCommander.cs
public void Close() { try { ExecuteBatch(); if (tran != null && (!isUsingOutsideTransaction)) { tran.Commit(); } } catch { if (tran != null && (!isUsingOutsideTransaction)) { tran.Rollback(); } throw; } finally { if (tran != null && (!isUsingOutsideTransaction)) { db.CloseConnection(tran); } } }