public class MYORM
{ public String MysqlStr = ""; public MYORM() { this.MysqlStr = "Select * from Userinfo where ";}
public MYORM(String SQLStr) { if (SQLStr.ToString().Length > 0) { this.MysqlStr = this.MysqlStr + SQLStr; } else { this.MysqlStr = "Select * from Userinfo where "; } }public MYORM ORM_On (String Where)
{ this.MysqlStr = this.MysqlStr+ Where; return new MYORM(MysqlStr);}
public MYORM ORM_AND(String Where)
{ this.MysqlStr = this.MysqlStr + Where; return new MYORM(MysqlStr);}
public MYORM And (String Where)
{ this.MysqlStr = this.MysqlStr + Where; return new MYORM(MysqlStr);}
}