/// <summary> /// Deprecated Method for adding a new object to the FileType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFileType(FileType fileType) { base.AddObject("FileType", fileType); }
/// <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; }