摘要:
using System;using Lephone.Data;using Lephone.Data.Definition;using Lephone.Web;namespace Debug{ public class TestClass1 : DbObject { public string Name; } public class TestClass2 : DbObject { public ... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#Copyright2009CoreyTrager#DistributedunderthetermsoftheGNUGeneralPublicLicenseimportsysimportsubproc... 阅读全文
摘要:
using your example:<input name="ctl00$ContentPlaceHolder1$myTextBox" type="text" id="ctl00_ContentPlaceHolder1_myTextBox" />I use this to find the items i need. $("input[id*='myTextBox']").from ... 阅读全文
摘要:
The following code shows a composed index Name_Age with DESC, UNIQUE mode:class MyTest{ [DbKey] public long Id = 0; [Index("Name_Age", ASC = false, UNIQUE = true)] public string Name = null; [Index("N... 阅读全文
摘要:
The mutil-key example:public class MKey : IDbObject{ [DbKey(IsDbGenerate = false), Length(50)] public string Name; [DbKey(IsDbGenerate = false)] public int Age; public bool Gender;} 阅读全文
摘要:
using System;using System.Collections;using System.Reflection;public class Person { private string _Name; private int _Age; private string _Sex; public string Name { get { return this._Name; } ... 阅读全文