Index: Source/Components/ComponentServiceBase.cst =================================================================== --- Source/Components/ComponentServiceBase.cst (revision 686) +++ Source/Components/ComponentServiceBase.cst (working copy) @@ -144,6 +144,20 @@ [CLSCompliant(true)] public <% if (UsePartialClass) Response.Write("partial "); %>class <%=abstractClassName%> : ServiceBase<<%= className %>, <%= keyClassName %>> { + #region Tag Declarations + <% + // BEGIN - tags that we can use in the Service Tier's "where" clauses -- Brian, Intrati + %> + <% for (int x=0; x < cols.Count; x++) { %> + /// + /// A tag to use in database queries regarding the <%=cols[x].Name%> column + /// + public const System.String <%= GetPropertyName(cols[x]) %>_TAG = "<%= GetPropertyName(cols[x]) %>"; + <% } %> + <% + // END - tags that we can use in the Service Tier's "where" clauses -- Brian, Intrati + %> + #endregion Tag Declarations #region Constructors /// Index: Source/Components/Views/ComponentViewServiceBase.cst =================================================================== --- Source/Components/Views/ComponentViewServiceBase.cst (revision 686) +++ Source/Components/Views/ComponentViewServiceBase.cst (working copy) @@ -109,6 +109,20 @@ [DataObject] public <% if (UsePartialClass) Response.Write("partial "); %>class <%=abstractClassName%> : ServiceViewBase<<%= className %>> { + #region Tag Declarations + <% + // BEGIN - tags that we can use in the Service Tier's "where" clauses -- Brian, Intrati + %> + <% for (int x=0; x < cols.Count; x++) { %> + /// + /// A tag to use in database queries regarding the <%=cols[x].Name%> column + /// + public const System.String <%= GetPropertyName(cols[x]) %>_TAG = "<%= GetPropertyName(cols[x]) %>"; + <% } %> + <% + // END - tags that we can use in the Service Tier's "where" clauses -- Brian, Intrati + %> + #endregion Tag Declarations #region Constructors ///