src/Misc/EFTools/EntityDesign/VisualStudio/EdmUtils.cs
// <summary>
//     Enable/Disable custom tool (which reads the code generation property) for an edmx project item.
// </summary>
Enable/Disable custom tool (which reads the code generation property) for an edmx project item.
Enable / Disable custom tool ( which reads the code generation property ) for an edmx project item .
internal static void ToggleEdmxItemCustomToolProperty(ProjectItem projectItem, bool isEnabled)
        {
            var prop = projectItem.Properties.Item("CustomTool");
            if (prop != null)
            {
                prop.Value = isEnabled ? EntityModelCodeGenerator.CodeGenToolName : String.Empty;
            }
        }
internal static void ToggleEdmxItemCustomToolProperty ( ProjectItem projectItem , bool isEnabled ) { var prop = projectItem . Properties . Item ( " " ) ; if ( prop != null ) { prop . Value = isEnabled ? EntityModelCodeGenerator . CodeGenToolName : String . Empty ; } }
Enable/Disable custom tool (which reads the code generation property) for an edmx project item.
Enable / Disable custom tool ( which reads the code generation property ) for an edmx project item .
projectItem
ProjectItem
isEnabled
bool