摘要:
public class DefaultIfEmpty_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(Contex... 阅读全文
摘要:
public class AsEnumerable_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextS... 阅读全文
摘要:
public class Empty_LINQ { public static void Empty_Print() { string[] name1 = { "Asfs", "Steve" }; string[] name2 = { "Joe", "Jhon", "Sawyer", "Sayid" }; string[] name3 = { "Dave", "Kate", "Juliet", "... 阅读全文
摘要:
public class Distinct_LINQ { public static void Distinct_Print() { List<int> quantity = new List<int> { 1, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 9, 10 }; IEnumerable<int> val = quantity.Dist... 阅读全文
摘要:
public class Aggregate_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextStri... 阅读全文
摘要:
public class Concat_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextString)... 阅读全文
摘要:
public class GroupBy_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextString... 阅读全文
摘要:
public class Join_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextString);... 阅读全文
摘要:
public class OrderBy_LINQ { static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); static DataContext context = new DataContext(ContextStrin... 阅读全文
摘要:
public class Where_LINQ { public static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); public static void Print() { DataContext context = n... 阅读全文