Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FileType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFileType(FileType fileType)
 {
     base.AddObject("FileType", fileType);
 }
Пример #2
0
 /// <summary>
 /// Create a new FileType object.
 /// </summary>
 /// <param name="fileTypeId">Initial value of the FileTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static FileType CreateFileType(global::System.Int16 fileTypeId, global::System.String name)
 {
     FileType fileType = new FileType();
     fileType.FileTypeId = fileTypeId;
     fileType.Name = name;
     return fileType;
 }