XmlMappingSource 类
定义
表示使用外部 XML 映射文件创建模型的映射源。Represents a mapping source that uses an external XML mapping file to create the model.
public ref class XmlMappingSource sealed : System::Data::Linq::Mapping::MappingSource
public sealed class XmlMappingSource : System.Data.Linq.Mapping.MappingSource
type XmlMappingSource = class
inherit MappingSource
Public NotInheritable Class XmlMappingSource
Inherits MappingSource
- 继承
方法
| CreateModel(Type) |
创建新的映射模型。Creates a new mapping model. (继承自 MappingSource) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| FromReader(XmlReader) |
从 XML 读取器创建映射源。Creates a mapping source from an XML reader. |
| FromStream(Stream) |
从流中的 XML 创建映射源。Creates a mapping source from XML in a stream. |
| FromUrl(String) |
从加载自 URL 的 XML 创建映射源。Creates a mapping source from XML that is loaded from a URL. |
| FromXml(String) |
从 XML 字符串创建映射源。Creates a mapping source from an XML string. |
| 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) |