mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Made DataMappingModels available on net35
This commit is contained in:
@@ -9,11 +9,9 @@ namespace Microsoft.Iris.Debug
|
|||||||
public List<System.Xml.XmlDocument> DecompileResults { get; } = new List<System.Xml.XmlDocument>();
|
public List<System.Xml.XmlDocument> DecompileResults { get; } = new List<System.Xml.XmlDocument>();
|
||||||
public TraceSettings TraceSettings { get; } = TraceSettings.Current;
|
public TraceSettings TraceSettings { get; } = TraceSettings.Current;
|
||||||
|
|
||||||
#if OPENZUNE
|
|
||||||
public bool GenerateDataMappingModels { get; set; } = true;
|
public bool GenerateDataMappingModels { get; set; } = true;
|
||||||
public List<(string Provider, string Type, string Code)> DataMappingModels { get; }
|
public List<(string Provider, string Type, string Code)> DataMappingModels { get; }
|
||||||
= new List<(string Provider, string Type, string Code)>();
|
= new List<(string Provider, string Type, string Code)>();
|
||||||
#endif
|
|
||||||
|
|
||||||
public Bridge Bridge { get; } =
|
public Bridge Bridge { get; } =
|
||||||
#if OPENZUNE
|
#if OPENZUNE
|
||||||
|
|||||||
@@ -496,12 +496,10 @@ namespace Microsoft.Iris.Markup
|
|||||||
}
|
}
|
||||||
dataMappingsTable[index1] = markupDataMapping;
|
dataMappingsTable[index1] = markupDataMapping;
|
||||||
|
|
||||||
#if OPENZUNE
|
|
||||||
if (Application.DebugSettings.GenerateDataMappingModels)
|
if (Application.DebugSettings.GenerateDataMappingModels)
|
||||||
Application.DebugSettings.DataMappingModels.Add(
|
Application.DebugSettings.DataMappingModels.Add(
|
||||||
(markupDataMapping.Provider, markupDataMapping.TargetType.Name, markupDataMapping.GenerateModelCode())
|
(markupDataMapping.Provider, markupDataMapping.TargetType.Name, markupDataMapping.GenerateModelCode())
|
||||||
);
|
);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
_loadResultTarget.SetDataMappingsTable(dataMappingsTable);
|
_loadResultTarget.SetDataMappingsTable(dataMappingsTable);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user