Class AutoEntityMapper<T>
实体自动映射器类
Inherited Members
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 SourceAutoEntityMapper()
初始化自动映射实体
Declaration
public AutoEntityMapper()
Methods
| Improve this Doc View SourceRemovePostFix(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 |