Show / Hide Table of Contents

Class AutoEntityMapper<T>

实体自动映射器类

Inheritance
System.Object
ClassMapper<T>
AutoEntityMapper<T>
Inherited Members
ClassMapper<T>.SchemaName
ClassMapper<T>.TableName
ClassMapper<T>.Properties
ClassMapper<T>.EntityType
ClassMapper<T>.PropertyTypeKeyTypeMapping
ClassMapper<T>.Schema(String)
ClassMapper<T>.Table(String)
ClassMapper<T>.AutoMap()
ClassMapper<T>.AutoMap(Func<Type, PropertyInfo, Boolean>)
ClassMapper<T>.Map(Expression<Func<T, Object>>)
ClassMapper<T>.Map(PropertyInfo)
Namespace: DapperDal.Mapper
Assembly: DapperDal.dll
Syntax
public class AutoEntityMapper<T> : ClassMapper<T>, IClassMapper<T>, IClassMapper where T : class
Type Parameters
Name Description
T

实体类

Constructors

| Improve this Doc View Source

AutoEntityMapper()

初始化自动映射实体

Declaration
public AutoEntityMapper()

Methods

| Improve this Doc View Source

RemovePostFix(String, String[])

Removes first occurrence of the given postfixes from end of the given string.

Declaration
public static string RemovePostFix(string str, params string[] postFixes)
Parameters
Type Name Description
System.String str

The string.

System.String[] postFixes

one or more postfix.

Returns
Type Description
System.String

Modified string or the same string if it has not any of given postfixes

Extension Methods

SortingExtensions.ToSortable(Object)
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX