白日放歌须纵酒,青春作伴好还乡。这篇文章主要讲述Dapper Extensions Change Schema相关的知识,希望能为你提供帮助。
Dapper Extensions Change Schema
You can use the AutoClassMapper to assign a new schema to your model. An overview on this is on the
extensions site. You will basically need to create an AutoClassMapper per model with a different schema. The best place to declare it is alongside your model itself like:
public class MyModel { public Guid Id { get; set; } }public class MyModelMapper : AutoClassMapper< MyModel> { public MyModelMapper() : base() { Schema("YourNewSchema"); } }
【Dapper Extensions Change Schema】
推荐阅读
- androidstudio打包时出现错误Error:Execution failed for task ':app:transformClassesWithDexForRelease'
- spring boot 读取配置文件(application.yml)中的属性值111
- android 自己定义TextView&quot;会发脾气的TextView&quot;
- Android 获取cache缓存的目录路径
- android自己定义进度值可拖动的seekbar
- Android的RecyclerView
- android 自己定义视频播放器之2/1
- Curses library not found. Please install appropriate package
- Android短信收到,语音播报