private void DiscoverDataVersion()
{
#if PCL
var dataVerion = typeof(Database).GetTypeInfo().Assembly.GetCustomAttribute<DataVersionAttribute>();
#else
var dataVerion = Attribute.GetCustomAttribute(typeof(Database).Assembly, typeof(DataVersionAttribute))
as DataVersionAttribute;
#endif
if (dataVerion != null)
Version = dataVerion.Version;
}