BTDB.ODBLayer.TableInfo.GetPersistantName C# (CSharp) Method

GetPersistantName() static private method

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