public static Trados.TradosDataContext getTradosContext(bool ObjectTrackingEnabled) { Trados.TradosDataContext ctx = new Trados.TradosDataContext(TradosConnectionString()); ctx.CommandTimeout = 1000; ctx.ObjectTrackingEnabled = ObjectTrackingEnabled; if (isPZComp()) ctx.Log = wr; return ctx; }
public static Trados.TradosDataContext getTradosContext() { Trados.TradosDataContext ctx = new Trados.TradosDataContext(TradosConnectionString()); ctx.CommandTimeout = 3000; if (isPZComp()) ctx.Log = wr; return ctx; }