메소드 | 설명 | |
---|---|---|
CalculateDiagramFileName ( string modelFileName ) : string |
Calculates and returns the name of the diagram file for the specified model file There is no guarantee that either the model file or the calculated diagram file exist. |
|
LoadModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling partition, string fileName, global::Microsoft.VisualStudio.Modeling serializerLocator ) : DslModeling::ModelElement |
Loads a SampleOrmModel instance and its associated diagram file.
|
|
LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelPartition, string modelFileName, global::Microsoft.VisualStudio.Modeling diagramPartition, string diagramFileName, global::Microsoft.VisualStudio.Modeling serializerLocator ) : DslModeling::ModelElement |
Loads a SampleOrmModel instance and its associated diagram file.
|
|
SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelRoot, string fileName, System encoding ) : void |
Saves the given model root to the given file, with specified encoding.
|
|
SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelRoot, string modelFileName, global::Microsoft.VisualStudio.Modeling diagram, string diagramFileName, System encoding ) : void |
Saves the given SampleOrmModel and OrmLanguageDiagram to the given files, with specified encoding.
|
public CalculateDiagramFileName ( string modelFileName ) : string | ||
modelFileName | string | The relevant model file name |
리턴 | string |
public LoadModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling partition, string fileName, global::Microsoft.VisualStudio.Modeling serializerLocator ) : DslModeling::ModelElement | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | Stores serialization result from the load operation. |
partition | global::Microsoft.VisualStudio.Modeling | Partition in which the new SampleOrmModel instance will be created. |
fileName | string | Name of the file from which the SampleOrmModel instance will be deserialized. |
serializerLocator | global::Microsoft.VisualStudio.Modeling | Used to locate any additional domain model types required to load the model. Can be null. |
리턴 | DslModeling::ModelElement |
public LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelPartition, string modelFileName, global::Microsoft.VisualStudio.Modeling diagramPartition, string diagramFileName, global::Microsoft.VisualStudio.Modeling serializerLocator ) : DslModeling::ModelElement | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | Stores serialization result from the load operation. |
modelPartition | global::Microsoft.VisualStudio.Modeling | Partition in which the new SampleOrmModel instance will be created. |
modelFileName | string | Name of the file from which the SampleOrmModel instance will be deserialized. |
diagramPartition | global::Microsoft.VisualStudio.Modeling | Partition in which the new OrmLanguageDiagram instance will be created. |
diagramFileName | string | Name of the file from which the OrmLanguageDiagram instance will be deserialized. |
serializerLocator | global::Microsoft.VisualStudio.Modeling | Used to locate any additional domain model types required to load the model. Can be null. |
리턴 | DslModeling::ModelElement |
public SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelRoot, string fileName, System encoding ) : void | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | Stores serialization result from the save operation. |
modelRoot | global::Microsoft.VisualStudio.Modeling | SampleOrmModel instance to be saved. |
fileName | string | Name of the file in which the SampleOrmModel instance will be saved. |
encoding | System | Encoding to use when saving the SampleOrmModel instance. |
리턴 | void |
public SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelRoot, string modelFileName, global::Microsoft.VisualStudio.Modeling diagram, string diagramFileName, System encoding ) : void | ||
serializationResult | global::Microsoft.VisualStudio.Modeling | Stores serialization result from the save operation. |
modelRoot | global::Microsoft.VisualStudio.Modeling | SampleOrmModel instance to be saved. |
modelFileName | string | Name of the file in which the CanonicalSampleRoot instance will be saved. |
diagram | global::Microsoft.VisualStudio.Modeling | OrmLanguageDiagram to be saved. |
diagramFileName | string | Name of the file in which the diagram will be saved. |
encoding | System | Encoding to use when saving the diagram. |
리턴 | void |