Portal application - initial.
This commit is contained in:
@@ -77,12 +77,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Create Container.
|
||||
public override SbmContainer CreateContainer(Sbm.ContainerCategory containerCategory, Sbm.ContainerType containerType)
|
||||
{
|
||||
return new SbmContainer_Dbas(UserContext, new SysId(), AffiliateId_Owner, containerCategory, containerType, 0);
|
||||
return new SbmContainer_Dbas(Internals, new SysId(), AffiliateId_Owner, containerCategory, containerType, 0);
|
||||
}
|
||||
private SbmContainer_Dbas CreateContainer(Container_Db dbContainer)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmContainer_Dbas container = new SbmContainer_Dbas(UserContext, new SysId(dbContainer._Id), new SysId(dbContainer._AffIdOwner), (Sbm.ContainerCategory)dbContainer._Category, (Sbm.ContainerType)ContainerTypes.GetTypeForCode(dbContainer._Type), (ushort)dbContainer._Flags);
|
||||
SbmContainer_Dbas container = new SbmContainer_Dbas(Internals, new SysId(dbContainer._Id), new SysId(dbContainer._AffIdOwner), (Sbm.ContainerCategory)dbContainer._Category, (Sbm.ContainerType)ContainerTypes.GetTypeForCode(dbContainer._Type), (ushort)dbContainer._Flags);
|
||||
PopulateFrom(dbContainer, container);
|
||||
return container;
|
||||
}
|
||||
@@ -149,7 +149,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
dbConnection.Open();
|
||||
Container_Db dbContainer = new Container_Db(DbInfo);
|
||||
dbContainer.PopulateFrom(dbCommand, aliasContainer, "Id=" + SysId.ToString(container.Id));
|
||||
SbmUpdateLogItemMonitor_Container updateLogMonitor = new SbmUpdateLogItemMonitor_Container(UserContext, CreateContainer(dbContainer));
|
||||
SbmUpdateLogItemMonitor_Container updateLogMonitor = new SbmUpdateLogItemMonitor_Container(Internals, CreateContainer(dbContainer));
|
||||
|
||||
// Update properties.
|
||||
PopulateTo(dbContainer, container, dbUpdateInfo);
|
||||
|
||||
Reference in New Issue
Block a user