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, Version)

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

GenerateViews(StorageMappingItemCollection, TextWriter)

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

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)
Validate(StorageMappingItemCollection, Version)

验证一个 StorageMappingItemCollection.

Validate(StorageMappingItemCollection)

验证一个 StorageMappingItemCollection.

适用于