Walaa wrote:
AFAIK, you can specify "/doc" as a compiler option, for the generated code project.
Then VS takes care of the following:
When compiling the project an xml file should be created with all code comments, the xml file shoulod have the same name as the output binary file, and be placed in the same folder.
From which Visual Studio uses this xml file to display intellisense tooltips.
I understand that and it already does that.
What I'm trying to say is that LLBLGen has XML comments in the generated code.
Example:
/// <summary> The TaxYear property of the Entity EqualizedValueSchoolTaxRate<br/><br/>
/// </summary>
/// <remarks>Mapped on table field: "EqualizedValueSchoolTaxRate"."TaxYear"<br/>
/// Table field type characteristics (type, precision, scale, length): SmallInt, 5, 0, 0<br/>
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false</remarks>
public virtual System.Int16 TaxYear
{
get { return (System.Int16)GetValue((int)EqualizedValueSchoolTaxRateFieldIndex.TaxYear, true); }
set { SetValue((int)EqualizedValueSchoolTaxRateFieldIndex.TaxYear, value); }
}
I was hoping there was a way I could add my own comment to that generated XML comment that says "Do not set this field for existing entities". Obviously, I could modify the XML comments in the generated files, but then I will lose those changes every time I regenerate the code. I was hoping I could put additional comments for a method in the partial class file where I put my custom code. But after doing some research online, I learned you can't do that.
So consider this thread closed.
Thanks.