Editing the generated C# files
You may need to edit the generated C# source files to add methods, such as validation, utility, and initialization methods. If you edit the files, take care not to alter the generated code; doing so will cause errors when you try to run your .NET application. You should place your own methods at the end of the file, after the generated code.
You may also want to edit the metadata in the AssemblyInfo.cs file (see below) or add comments to the source files for the API documentation (see Generating API documentation).
If you regenerate classes for the same interface, the C# source files will be overwritten and any modifications will be lost. The AssemblyInfo.cs file is not overwritten when classes are regenerated.
The AssemblyInfo.cs file contains information about the assembly, which you can customize. This information displays when you view the generated DLL’s properties (that is, right-click on the DLL in Windows Explorer and select Properties).
The generated AssemblyInfo.cs file includes default values for some of the attributes, as shown in the sample below. If desired, you can add values for the other attributes. For example, you may want to implement a version numbering system. We do not recommend changing the value for ApplicationActivation.
ApplicationName("ConsultIt") ApplicationActivation(ActivationOption.Server) ApplicationAccessControl(false) AssemblyTitle("") AssemblyDescription("") AssemblyConfiguration("") AssemblyCompany("") AssemblyProduct("") AssemblyCopyright("") AssemblyTrademark("") AssemblyCulture("") AssemblyVersion("22.214.171.124") AssemblyKeyName("")