我有一个包含各种字段的表格,我想知道如何使用linq只检索其中一个字段并将它们列入列表?
var st = context.myTable.FirstOrDefault.ToList
答案 0 :(得分:3)
试试这个
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.matcher.ViewMatchers.withText;