public static bool Active(bool bActive) { if (bActive) { FbCnn = new FbConnection(ObtenhaConfiguracoesBanco()); FbCnn.Open(); return(true); } FbCnn.Close(); return(false); }
public static FbTransaction ObtenhaFbTransaction() { Active(true); return(FbCnn.BeginTransaction()); }