Here is the code,, last two options are optional
-------
public void Adduser(string name, string pass)
{
new Db.User.Insert(name,pass,DateTime.Now);
}
---------
Here is another snippet , Here I'm getting this error `SubSonic.AbstractRecord<Prufer.Data.Db.User>.FetchByQuery(SubSonic.Query)' is a `method group' but a `type' was expected(CS0118)]
public bool isExist(string uname)
{
IDataReader reader= new Db.User.FetchByQuery(new Query("uesr").AddWhere("username",uname));
int i=reader.RecordsAffected();
if(i>0)
return true;
else
return false;
}