Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlServerTableFunction" /> class.
 /// </summary>
 /// <param name="dataSource">The data source.</param>
 /// <param name="scalarFunctionName">Name of the scalar function.</param>
 /// <param name="functionArgumentValue">The function argument.</param>
 public SqlServerScalarFunction(SqlServerDataSourceBase dataSource, SqlServerObjectName scalarFunctionName, object functionArgumentValue) : base(dataSource)
 {
     m_Function = dataSource.DatabaseMetadata.GetScalarFunction(scalarFunctionName);
     m_FunctionArgumentValue = functionArgumentValue;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PostgreSqlScalarFunction" /> class.
 /// </summary>
 /// <param name="dataSource">The data source.</param>
 /// <param name="scalarFunctionName">Name of the scalar function.</param>
 /// <param name="functionArgumentValue">The function argument.</param>
 public PostgreSqlScalarFunction(PostgreSqlDataSourceBase dataSource, PostgreSqlObjectName scalarFunctionName, object?functionArgumentValue) : base(dataSource, functionArgumentValue)
 {
     m_Function = dataSource.DatabaseMetadata.GetScalarFunction(scalarFunctionName);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MySqlScalarFunction" /> class.
 /// </summary>
 /// <param name="dataSource">The data source.</param>
 /// <param name="scalarFunctionName">Name of the scalar function.</param>
 /// <param name="functionArgumentValue">The function argument.</param>
 public MySqlScalarFunction(MySqlDataSourceBase dataSource, MySqlObjectName scalarFunctionName, object functionArgumentValue) : base(dataSource)
 {
     m_Function = dataSource.DatabaseMetadata.GetScalarFunction(scalarFunctionName);
     m_FunctionArgumentValue = functionArgumentValue;
 }