Class SqlServerColumnSchema
Table's column schema for Microsoft SQL Server.
Inheritance
System.Object
SqlServerColumnSchema
Assembly: Kros.Utils.dll
Syntax
public class SqlServerColumnSchema : ColumnSchema
Constructors
SqlServerColumnSchema(String)
Declaration
public SqlServerColumnSchema(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
SqlServerColumnSchema(String, Boolean)
Declaration
public SqlServerColumnSchema(string name, bool allowNull)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
allowNull |
|
SqlServerColumnSchema(String, Boolean, Object)
Declaration
public SqlServerColumnSchema(string name, bool allowNull, object defaultValue)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
allowNull |
|
System.Object |
defaultValue |
|
SqlServerColumnSchema(String, Boolean, Object, Int32)
Declaration
public SqlServerColumnSchema(string name, bool allowNull, object defaultValue, int size)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
allowNull |
|
System.Object |
defaultValue |
|
System.Int32 |
size |
|
Properties
SqlDbType
Declaration
public SqlDbType SqlDbType { get; set; }
Property Value
Type |
Description |
System.Data.SqlDbType |
|
Methods
SetParameterDbType(IDataParameter)
Declaration
public override void SetParameterDbType(IDataParameter param)
Parameters
Type |
Name |
Description |
System.Data.IDataParameter |
param |
|
Overrides
Exceptions
Type |
Condition |
System.ArgumentException |
Value of param is not of type System.Data.SqlClient.SqlParameter.
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()