zoukankan      html  css  js  c++  java
  • week 7

    deferred query

    foreach() is where query is executed

    data changes between executions,the result is different.

    ToList() ToArray()

    cache the data

    List<Customer> cache = result.ToList<Customer>();

    join query group aggregation sort

    LinQ like SQL

    one join two on [join condition]

    only inner join
    one & two all meets condition

    join condition on
    join c2 on
    join c3 on


    sort

    orderby someproperty descending
    ascending by default

    orderby p,
    Q descenging

    select{new p,q}
    anonymous types

    mthod-based query

    IEnumerable<Customer> r= c.where(c=>c.f=="")
    .select(c=>c);

    var result == auto

    public static string R(this string s){}
    sealed string
    if you want to add method,have to be this way
    can only access public member
    can't override extant method

    orderby
    thenbydescending

    orderbydescending
    orderby


    XML data consumption
    JSON

    DOM document object model

    xml .save()

    @->attribute
    XPath directory

    XML serialization
    deserialization

    load in memory

    code serialize into XML(convert

    Xmlattribute
    XmlIgnore throw away

  • 相关阅读:
    dart中Map类型详解
    洛谷P1582 倒水(二进制)
    maven依赖 临时转阿里云镜像
    java jdbc 连接数据库
    java 常用类
    java 异常处理
    java 对象 this static 封装
    java 面对对象 内存分析
    团队开发 git
    java 代码块
  • 原文地址:https://www.cnblogs.com/itria/p/4448711.html
Copyright © 2011-2022 走看看