EntityModelSchemaGenerator.WriteModelSchema 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將產生的概念結構描述定義語言 (CSDL) 寫入至指定的檔案。
多載
WriteModelSchema(String) |
將產生的概念結構描述定義語言 (CSDL) 寫入至指定的檔案。 |
WriteModelSchema(XmlWriter) |
將產生的概念結構描述定義語言 (CSDL) 寫入至 XmlWriter 物件。 |
WriteModelSchema(String)
將產生的概念結構描述定義語言 (CSDL) 寫入至指定的檔案。
public:
void WriteModelSchema(System::String ^ outputFileName);
public void WriteModelSchema(string outputFileName);
member this.WriteModelSchema : string -> unit
Public Sub WriteModelSchema (outputFileName As String)
參數
- outputFileName
- String
輸出檔的名稱。
適用於
WriteModelSchema(XmlWriter)
將產生的概念結構描述定義語言 (CSDL) 寫入至 XmlWriter 物件。
public:
void WriteModelSchema(System::Xml::XmlWriter ^ writer);
public void WriteModelSchema(System.Xml.XmlWriter writer);
member this.WriteModelSchema : System.Xml.XmlWriter -> unit
Public Sub WriteModelSchema (writer As XmlWriter)
參數
- writer
- XmlWriter
XmlWriter,CSDL 會寫入至其中。