Insert method using unit of work pattern in ax 2012
public static server void insertintocusttableusingUOWClass()
{
UnitOfWork uow = new UnitOfWork();
CustTable custTable;
;
custTable.AccountNum='12347';
custTable.CustGroup='pat';
uow.insertonSaveChanges(custTable);
uow.saveChanges();
}
{
UnitOfWork uow = new UnitOfWork();
CustTable custTable;
;
custTable.AccountNum='12347';
custTable.CustGroup='pat';
uow.insertonSaveChanges(custTable);
uow.saveChanges();
}
*This post is locked for comments