public static void Config(XmlElement xmlElement, ref TransactionConfig txnConfig, bool compulsory) { Configuration.ConfigIsolation(xmlElement, "IsolationDegree", ref txnConfig.IsolationDegree, compulsory); Configuration.ConfigBool(xmlElement, "NoWait", ref txnConfig.NoWait, compulsory); Configuration.ConfigBool(xmlElement, "Snapshot", ref txnConfig.Snapshot, compulsory); Configuration.ConfigLogFlush(xmlElement, "SyncAction", ref txnConfig.SyncAction, compulsory); }