Show / Hide Table of Contents

    Class MsAccessParseDefaultValueEventArgs

    Arguments for the event ParseDefaultValue.

    Inheritance
    System.Object
    System.EventArgs
    MsAccessParseDefaultValueEventArgs
    Namespace: Kros.Data.Schema.MsAccess
    Assembly: Kros.Utils.MsAccess.dll
    Syntax
    public class MsAccessParseDefaultValueEventArgs : EventArgs

    Constructors

    MsAccessParseDefaultValueEventArgs(String, String, OleDbType, String, Object)

    Creates and initializes instance of arguments.

    Declaration
    public MsAccessParseDefaultValueEventArgs(string tableName, string columnName, OleDbType oleDbType, string defaultValueString, object defaultValue)
    Parameters
    Type Name Description
    System.String tableName
    System.String columnName
    System.Data.OleDb.OleDbType oleDbType
    System.String defaultValueString
    System.Object defaultValue

    Value, which was obtained by default parser.

    Properties

    ColumnName

    Column name which default value is being parsed.

    Declaration
    public string ColumnName { get; }
    Property Value
    Type Description
    System.String

    DefaultValue

    Value, which was obtained by default parser. Set this value, when using custom logic for parsing default value in event handler.

    Declaration
    public object DefaultValue { get; set; }
    Property Value
    Type Description
    System.Object

    DefaultValueString

    Default value of a column. It is the string which is being parsed.

    Declaration
    public string DefaultValueString { get; }
    Property Value
    Type Description
    System.String

    Handled

    Flag indicating if default value was parsed using custom logic in event handler. Set this to true if you set your own default value in DefaultValue.

    Declaration
    public bool Handled { get; set; }
    Property Value
    Type Description
    System.Boolean

    OleDbType

    Data type of column which default value is being parsed.

    Declaration
    public OleDbType OleDbType { get; }
    Property Value
    Type Description
    System.Data.OleDb.OleDbType

    TableName

    Table which schema is being loaded.

    Declaration
    public string TableName { get; }
    Property Value
    Type Description
    System.String
    Back to top KROS a.s.