AttributeMappingSource 类
定义
使用上下文中的属性创建映射模型的映射源。A mapping source that uses attributes on the context to create the mapping model.
public ref class AttributeMappingSource sealed : System::Data::Linq::Mapping::MappingSource
public sealed class AttributeMappingSource : System.Data.Linq.Mapping.MappingSource
type AttributeMappingSource = class
inherit MappingSource
Public NotInheritable Class AttributeMappingSource
Inherits MappingSource
- 继承
构造函数
| AttributeMappingSource() |
初始化 AttributeMappingSource 类的新实例。Initializes a new instance of the AttributeMappingSource class. |
方法
| CreateModel(Type) |
创建新的映射模型。Creates a new mapping model. (继承自 MappingSource) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetModel(Type) |
返回映射模型。Returns the mapping model. (继承自 MappingSource) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |