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); }
public static void Config(XmlElement xmlElement, ref CursorConfig cursorConfig, bool compulsory) { Configuration.ConfigIsolation(xmlElement, "IsolationDegree", ref cursorConfig.IsolationDegree, compulsory); Configuration.ConfigCachePriority(xmlElement, "Priority", ref cursorConfig.Priority, compulsory); Configuration.ConfigBool(xmlElement, "SnapshotIsolation", ref cursorConfig.SnapshotIsolation, compulsory); Configuration.ConfigBool(xmlElement, "WriteCursor", ref cursorConfig.WriteCursor, compulsory); }