System.Data.Common.DbCommand.Prepare C# (CSharp) Method

Prepare() public abstract method

public abstract Prepare ( ) : void
return void
        public abstract void Prepare();
    }

Usage Example

コード例 #1
0
ファイル: SQLCODEC.cs プロジェクト: kedrzu/encog-dotnet-core
 /// <summary>
 /// Create a SQL neural data set.
 /// </summary>
 /// <param name="sql">The SQL to execute.</param>
 /// <param name="inputSize">The size of the input data being read.</param>
 /// <param name="idealSize">The size of the ideal output data being read.</param>
 /// <param name="connectString">The connection string.</param>
 public SQLCODEC(String sql, int inputSize,
     int idealSize, String connectString)
 {
     _inputSize = inputSize;
     _idealSize = idealSize;
     _connection = new OleDbConnection(connectString);
     _connection.Open();
     _statement = _connection.CreateCommand();
     _statement.CommandText = sql;
     _statement.Prepare();
     _statement.Connection = _connection;
 }
All Usage Examples Of System.Data.Common.DbCommand::Prepare