Beispiel #1
0
        /// <summary>
        /// Gets the public name for a <see cref="DbColumnInfo"/>.
        /// </summary>
        /// <param name="columnCollection">The <see cref="ColumnCollection"/> to get the name of.</param>
        /// <returns>The public name for the <see cref="DbColumnInfo"/>.</returns>
        public string GetPublicName(ColumnCollection columnCollection)
        {
            if (columnCollection.Name != "Stat")
            {
            }

            return Formatter.GetFieldName(columnCollection.Name, MemberVisibilityLevel.Public, columnCollection.ExternalType);
        }
Beispiel #2
0
 /// <summary>
 /// Gets the private name for a <see cref="DbColumnInfo"/>.
 /// </summary>
 /// <param name="columnCollection">The <see cref="ColumnCollection"/> to get the name of.</param>
 /// <returns>The private name for the <see cref="DbColumnInfo"/>.</returns>
 public string GetPrivateName(ColumnCollection columnCollection)
 {
     return Formatter.GetFieldName(columnCollection.Name, MemberVisibilityLevel.Private, columnCollection.ExternalType);
 }