Search Results for

    Show / Hide Table of Contents

    Class ColumnHelper

    Commonfunctions for helping with table metadata

    Inheritance
    System.Object
    ColumnHelper
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.DAL.DatabaseMetadata
    Assembly: Simplic.Framework.DAL.dll
    Syntax
    public class ColumnHelper

    Methods

    | Improve this Doc View Source

    GetModelDBColumnNames(String, Type, IDictionary<String, String>)

    Retrieves the columns from the database table and compares them with the model. Returns only the fields which are found in the model!

    Declaration
    public static IDictionary<string, string> GetModelDBColumnNames(string tableName, Type modelType, IDictionary<string, string> differentColumnName)
    Parameters
    Type Name Description
    System.String tableName

    Table to read the columns

    System.Type modelType
    System.Collections.Generic.IDictionary<System.String, System.String> differentColumnName
    Returns
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>
    | Improve this Doc View Source

    GetModelDBColumnNames(String, Type, IDictionary<String, String>, String)

    Retrieves the columns from the database table and compares them with the model. Returns only the fields which are found in the model!

    Declaration
    public static IDictionary<string, string> GetModelDBColumnNames(string tableName, Type modelType, IDictionary<string, string> differentColumnName, string databaseName)
    Parameters
    Type Name Description
    System.String tableName

    Table to read the columns

    System.Type modelType
    System.Collections.Generic.IDictionary<System.String, System.String> differentColumnName
    System.String databaseName
    Returns
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx