43 references to LanguageOption
System.Data.Entity.Design (43)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (2)
62generator = new EntityCodeGenerator(LanguageOption.GenerateCSharpCode); 66generator = new EntityCodeGenerator(LanguageOption.GenerateVBCode);
System\Data\Entity\Design\Common\EDesignUtil.cs (4)
59static internal LanguageOption CheckLanguageOptionArgument(LanguageOption value, string paramName) 61if (value == LanguageOption.GenerateCSharpCode || 62value == LanguageOption.GenerateVBCode)
System\Data\Entity\Design\EntityCodeGenerator.cs (7)
29private LanguageOption _languageOption = LanguageOption.GenerateCSharpCode; 32public EntityCodeGenerator(LanguageOption languageOption) 37public LanguageOption LanguageOption 672internal static ReflectionAdapter Create(LanguageOption language, Version targetEntityFrameworkVersion) 674if (language == LanguageOption.GenerateCSharpCode) 687Debug.Assert(language == LanguageOption.GenerateVBCode, "Did you add a new option?");
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (6)
54public EntityViewGenerator(LanguageOption languageOption) 64: this(LanguageOption.GenerateCSharpCode) 71private LanguageOption m_languageOption; 81public LanguageOption LanguageOption 290case LanguageOption.GenerateCSharpCode: 294case LanguageOption.GenerateVBCode:
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
73if (generator.Language == LanguageOption.GenerateCSharpCode) 80Debug.Assert(generator.Language == LanguageOption.GenerateVBCode, "Did you add a new language?");
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
91case LanguageOption.GenerateCSharpCode: 95case LanguageOption.GenerateVBCode: 338internal LanguageOption Language
System\Data\EntityModel\Emitters\FixUp.cs (3)
110public string Fix(LanguageOption language, string line) 113if ( language == LanguageOption.GenerateCSharpCode ) 117else if ( language == LanguageOption.GenerateVBCode )
System\Data\EntityModel\Emitters\FixUpCollection.cs (11)
48private LanguageOption _language; 67public static bool IsLanguageSupported(LanguageOption language) 71case LanguageOption.GenerateVBCode: 72case LanguageOption.GenerateCSharpCode: 84public void Do(System.IO.TextReader reader, System.IO.TextWriter writer, LanguageOption language, bool hasNamespace) 106case LanguageOption.GenerateVBCode: 109case LanguageOption.GenerateCSharpCode: 201line = setterFixUp.Fix(LanguageOption.GenerateCSharpCode, line); 206line = getterFixUp.Fix(LanguageOption.GenerateCSharpCode, line); 222Language = LanguageOption.GenerateVBCode; 697private LanguageOption Language
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
80if (this.Generator.Language == System.Data.Entity.Design.LanguageOption.GenerateVBCode) //The GUID is only added in VB
System\Data\EntityModel\EntityClassGenerator.cs (4)
48LanguageOption _languageOption = LanguageOption.GenerateCSharpCode; 77public EntityClassGenerator(LanguageOption languageOption) 85public LanguageOption LanguageOption