4 references to GetOrCreateTextWriter
System.Data.Entity.Design (4)
System\Data\Entity\Design\EntityCodeGenerator.cs (2)
360
using (TextWriter writer = textWriter.
GetOrCreateTextWriter
())
423
textWriter.
GetOrCreateTextWriter
().Write(File.ReadAllText(target));
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
112
indentedTextWriter = new IndentedTextWriter(target.
GetOrCreateTextWriter
(), "\t");
137
FixUps.Do(reader, target.
GetOrCreateTextWriter
(), Language, SourceObjectNamespaceName != string.Empty);