Ejemplo n.º 1
0
 private static void GenerateMapping(IMutableProperty property)
 => property.SetTypeMapping(
     TestServiceFactory.Instance.Create <SqliteTypeMappingSource>()
     .FindMapping(property));
 private static void GenerateMapping(IMutableProperty property)
 => property.SetTypeMapping(
     new SqlServerTypeMappingSource(
         TestServiceFactory.Instance.Create <TypeMappingSourceDependencies>(),
         TestServiceFactory.Instance.Create <RelationalTypeMappingSourceDependencies>())
     .FindMapping(property));