static public void Delete(System.Decimal id, esSqlAccessType sqlAccessType) { var obj = new OracleTest(); obj.Id = id; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }