示例#1
0
        /// <include file='Doc/en_EN/FbCommandBuilder.xml' path='doc/class[@name="FbCommandBuilder"]/constructor[@name="ctor"]/*'/>
        public FbCommandBuilder() : base()
        {
            this.sqlInsert              = "INSERT INTO {0} ({1}) VALUES ({2})";
            this.sqlUpdate              = "UPDATE {0} SET {1} WHERE ({2})";
            this.sqlDelete              = "DELETE FROM {0} WHERE ({1})";
            this.whereClausule1         = "(({0} IS NULL) OR ({0} = {1}))";
            this.whereClausule2         = "({0} = {1})";
            this.setClausule            = "{0} = {1}";
            this.separator              = ",";
            this.quotePrefix            = "\"";
            this.quoteSuffix            = "\"";
            this.timestampColumnName    = String.Empty;
            this.commandBuilderBehavior = FbCommandBuilderBehavior.Default;

            GC.SuppressFinalize(this);
        }
		/// <include file='Doc/en_EN/FbCommandBuilder.xml' path='doc/class[@name="FbCommandBuilder"]/constructor[@name="ctor"]/*'/>
		public FbCommandBuilder() : base()
		{
			this.sqlInsert		= "INSERT INTO {0} ({1}) VALUES ({2})";
			this.sqlUpdate		= "UPDATE {0} SET {1} WHERE ({2})";
			this.sqlDelete		= "DELETE FROM {0} WHERE ({1})";
			this.whereClausule1 = "(({0} IS NULL) OR ({0} = {1}))";
			this.whereClausule2 = "({0} = {1})";
			this.setClausule	= "{0} = {1}";
			this.separator		= ",";
			this.quotePrefix	= "\"";
			this.quoteSuffix	= "\"";
			this.timestampColumnName	= String.Empty;
			this.commandBuilderBehavior = FbCommandBuilderBehavior.Default;

			GC.SuppressFinalize(this);
		}