using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sdaleo { /// /// DB Management Systems /// public enum DBSystem { SQL_SERVER, SQL_CE, ADVANTAGE, CTREE, MYSQL, POSTGRES } /// /// Allows us to pass DBMS Independent Parameters to DB Functions /// public struct DBMSIndParameter { public string parameterName { get; set; } public object Value { get; set; } } /// /// Transaction Delegate, Used to group multiple DB Steps into a /// Single Transaction /// /// The Result of a prior TransactionStep is passed down /// the DB(Connection) object that should be used in the next step /// public delegate DBRetVal TransactionStep(DBRetVal prevStepRetVal, DB db); }