Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When would I use FieldName processing instruction?

fieldname instruction
0
Posted

When would I use FieldName processing instruction?

0

Use the FieldName Processing Instruction to assign a name, other than the column name, to the Field and Property that will be generated from a particular column. By default, the OCG will use the column name as the field name. The usage of the FieldName Processing Instruction can be stylistic or compulsory. Stylistic reasons to use the FieldName Processing Instruction would be the following: i) Your column names contain prefixes or suffixes ii) You want your class properties to use names that are consistent with the application domain iii) The table columns were initially poorly named Compulsory reasons to use the EntityName Processing Instruction would be the following: i) A table column name contains a white space ii) The is a column name that is the same as the table name that this column belongs to. iii) The column name is a C# keyword.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123