private IContainer CreateDependencyContainer() { var folder = Path.Combine(ScaffoldUtility.GetRootFolder(), "Infrastructure", "Data", "Json"); var container = DependencyService.CreateContainer(FacetContext, folder, null); return(container); }
public void UpdateFacetContextFixture_IfParameterIsSetToTrue(bool updateTheModel, string hostName, string databaseName, string folder) { if (!updateTheModel) { return; } var serializer = CreateSerializer(); var path = Path.Combine(ScaffoldUtility.GetRootFolder(), folder); using (var context = CreateContext(hostName, databaseName)) { new JsonWriterService(serializer).SerializeTypesToPath(context, ScaffoldUtility.GetModelTypes(), path); } }
public static string SeadJsonDataFolder() { return(Path.Combine(ScaffoldUtility.GetRootFolder(), "Infrastructure", "Data", "Json")); }
private string DataFolder() { string root = ScaffoldUtility.GetRootFolder(); return(Path.Combine(root, "Infrastructure", "Data", "CSharp")); }