This question is locked. New answers and comments are not allowed.
I was trying your per-class configuration example (http://www.telerik.com/help/openaccess-orm/fluent-mapping-integration-enhancer-per-class-configuration.html); and you said:
"The benefit in this case is that you are not obligated to create a class that derives from FluentMetadataSource and to override the abstract PrepareMapping method"
But then, how should I update my FluentContext class? If I have no MetadataSource class what should I pass in the constructor?
"The benefit in this case is that you are not obligated to create a class that derives from FluentMetadataSource and to override the abstract PrepareMapping method"
But then, how should I update my FluentContext class? If I have no MetadataSource class what should I pass in the constructor?
public
class
FluentContext : OpenAccessContext
{
//static MyFluentMetadataSource metadataSource = new MyFluentMetadataSource();
static
BackendConfiguration backendConfiguration =
new
BackendConfiguration()
{
Backend =
"mssql"
};
private
const
string
DbConnection =
"ConnectionString"
;
public
FluentContext()
:
base
(DbConnection, backendConfiguration, ??)
{
}