Тестовый адаптер NUnit не поддерживает запуск тестов Android в Visual Studio Test Runner. (Я думаю , что это ограничение бегуна тестов VS, но я не уверен на 100% в этом!)
Вместо этого вы должны запустить NUnit.Tests.Droid1
как приложение Android в симуляторе или на устройстве. Приложение будет работать с графическим интерфейсом, который позволит вам запускать тесты.
Это будет выглядеть примерно так:
Еще одна вещь - ваше приложение должно ссылаться на ту же версию NUnit as nunit.xamarin - так что вы действительно хотите использовать NUnit 3.6.1, а не NUnit 3.11. Это планируется изменить в будущем!
It is a bad idea.
And if today's universities teach you LINQ instead of giving you foundation to build your knowledge upon, I can only feel sorry and pity for their students.
Time is always limited. Don't waste it on things that are subject to constant change.
SQL will be there tomorrow, LINQ.... well who knows.
SQL is applicable anywhere, LINQ only in .NET world.
Either LINQ or something else, it will be easy to "learn" it afterwards. When you have the knowledge of SQL, it will just me a matter of hours/days/weeks, hardly longer.
SQL is a standard, learn the standard.
More precisely :
learn database theory
learn CODD algebra
then pick up a "common database", do some tutorials on it, ...
I personnaly really like PostgreSQL tutorial
Learn SQL first, then LINQ.
That way you'll understand how LINQ-to-SQL is working behind the scenes, but you'll also know enough to be able to cope when LINQ can't do what you need.
Well, the 2 things are very different. LINQ (in the pure sense) isn't actually related to databases at all - it can be used quite happily just with in memory objects, or against web services, etc.
If you are mainly interested in writing better .NET code, then learn LINQ - but learn it properly - perhaps pick up C# in Depth, for example - which covers it very well in the last few chapters.
If you want to know about databases, then sure: learn SQL (such as TSQL) - but understand the differences. Databases are good if you need to write enterprise software, but not necessarily if you just want to do simple tasks.
edit re edit to the question
If you are just getting simple data in and out of the database, then you probably don't need to know much about SQL. Just use LINQ-to-SQL (or whatever tool), and let the ORM tooling worry about it.
Я утверждаю, что вы не можете эффективно использовать LINQ, если у вас нет знаний по SQL. Если вы не понимаете, как минимум, следующее, вы не можете эффективно запрашивать базу данных любым способом:
select
insert
delete
update
joins
group by
boolean algebra
relational theory
set theory
Изучение SQL даст вам необходимые концепции, даже если вы будете использовать LINQ позже.
Sql. Однако вы можете поиграть с linq pad некоторое время - это бесплатная программа, и вы поймете, что LINQ - хороший гибрид между SQL и C #