标签:gui sch mod create pre its schema ace nbsp
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
标签:gui sch mod create pre its schema ace nbsp
原文地址:http://www.cnblogs.com/dupeng0811/p/dapper-extensions-change-schema.html