예제 #1
0
파일: OOCModel.cs 프로젝트: KangChaofan/OOC
 /// <summary>
 /// Deprecated Method for adding a new object to the ModelFileMapping EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModelFileMapping(ModelFileMapping modelFileMapping)
 {
     base.AddObject("ModelFileMapping", modelFileMapping);
 }
예제 #2
0
파일: OOCModel.cs 프로젝트: KangChaofan/OOC
 /// <summary>
 /// Create a new ModelFileMapping object.
 /// </summary>
 /// <param name="modelGuid">Initial value of the modelGuid property.</param>
 /// <param name="fileName">Initial value of the fileName property.</param>
 /// <param name="isMainLibrary">Initial value of the isMainLibrary property.</param>
 /// <param name="creation">Initial value of the creation property.</param>
 /// <param name="isDocument">Initial value of the isDocument property.</param>
 /// <param name="signature">Initial value of the signature property.</param>
 /// <param name="relativePath">Initial value of the relativePath property.</param>
 /// <param name="isDataProcessor">Initial value of the isDataProcessor property.</param>
 public static ModelFileMapping CreateModelFileMapping(global::System.String modelGuid, global::System.String fileName, global::System.Boolean isMainLibrary, global::System.DateTime creation, global::System.Boolean isDocument, global::System.String signature, global::System.String relativePath, global::System.Boolean isDataProcessor)
 {
     ModelFileMapping modelFileMapping = new ModelFileMapping();
     modelFileMapping.modelGuid = modelGuid;
     modelFileMapping.fileName = fileName;
     modelFileMapping.isMainLibrary = isMainLibrary;
     modelFileMapping.creation = creation;
     modelFileMapping.isDocument = isDocument;
     modelFileMapping.signature = signature;
     modelFileMapping.relativePath = relativePath;
     modelFileMapping.isDataProcessor = isDataProcessor;
     return modelFileMapping;
 }