EntityViewGenerator 类

定义

StorageMappingItemCollection 范围内生成视图,并为缓存这些视图的类型创建一个源代码文件。

public ref class EntityViewGenerator
public class EntityViewGenerator
type EntityViewGenerator = class
Public Class EntityViewGenerator
继承
EntityViewGenerator

构造函数

EntityViewGenerator()

使用 EntityViewGenerator 语言选项初始化 GenerateCSharpCode 类的新实例。

EntityViewGenerator(LanguageOption)

使用指定的 EntityViewGenerator 初始化 LanguageOption 类的新实例。

属性

LanguageOption

获取或设置指示所生成代码的语言的 LanguageOption 值。

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GenerateViews(StorageMappingItemCollection, String)

编译时,在 StorageMappingItemCollection 范围内生成视图。 将使视图在运行时可用的源代码文件写入指定位置。

GenerateViews(StorageMappingItemCollection, TextWriter)

编译时,在 StorageMappingItemCollection 范围内生成视图。 将源代码文件发送到 TextWriter 以使这些视图在运行时可用。

GenerateViews(StorageMappingItemCollection, TextWriter, Version)

编译时,在 StorageMappingItemCollection 范围内生成视图。 将源代码文件发送到 TextWriter 以使这些视图在运行时可用。

GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)
Validate(StorageMappingItemCollection)

验证 StorageMappingItemCollection

Validate(StorageMappingItemCollection, Version)

验证 StorageMappingItemCollection

适用于