BTDB.ODBLayer.TableInfo.GetPersistantName C# (CSharp) Méthode

GetPersistantName() static private méthode

static private GetPersistantName ( PropertyInfo p ) : string
p System.Reflection.PropertyInfo
Résultat string
        static string GetPersistantName(PropertyInfo p)
        {
            var a = p.GetCustomAttribute<PersistedNameAttribute>();
            return a != null ? a.Name : p.Name;
        }