internal static string[] GetStringFieldPath(this DbPropertyInfo propInfo) { return(propInfo.Type == DbPropertyType.Key || propInfo.Type == DbPropertyType.Timestamp ? new [] { propInfo.Name } : new [] { "data", propInfo.Name }); }
internal static object[] GetFaunaFieldPath(this DbPropertyInfo propInfo) { return(GetStringFieldPath(propInfo).Cast <object>().ToArray()); }