摘要: <EntityType Name="视图名称"> <Key><PropertyRef Name="主键的列名1" /><PropertyRef Name="主键的列名2" /><PropertyRef Name="主键的列名3" /> </Key> <Property Name="主键的列名1" Type="varchar2"Nullable="false"MaxLength=& 阅读全文
posted @ 2013-04-19 21:14 louiskoo 阅读(514) 评论(0) 推荐(0) 编辑
摘要: ISNULL ( check_expression , replacement_value) 参数 check_expression 将被检查是否为 NULL的表达式。check_expression 可以是任何类型的。 replacement_value 在 check_expression 为 NULL时将返回的表达式。replacement_value 必须与 check_expresssion 具有相同的类型。 返回类型 返回与 check_expression 相同的类型。 注释 如果 check_expression 不为 NULL,那么返回该表达式的值;否则返... 阅读全文
posted @ 2013-04-19 19:23 louiskoo 阅读(208) 评论(0) 推荐(0) 编辑
摘要: OrderNum = (from s in g from f in dt.JXDW_ITIL_WORK_ORDER where s.CALL_ID == f.CALL_ID && (new string[] { "待回访", "回访中", "关闭" }).Contains(f.ORDER_STATUS) select f).Count(), 阅读全文
posted @ 2013-04-19 13:46 louiskoo 阅读(135) 评论(0) 推荐(0) 编辑