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