Source/Csla.Channels.RabbitMq/RabbitMqProxy.cs
/// <summary>
/// Called by <see cref="DataPortal" /> to create a
/// new business object.
/// </summary>
/// <param name="objectType">Type of business object to create.</param>
/// <param name="criteria">Criteria object describing business object.</param>
/// <param name="context">DataPortalContext object passed to the server.</param>
/// <param name="isSync">True if the client-side proxy should synchronously invoke the server.</param>
Called by  to create a
new business object.
Called by to create a new business object .
public override async Task<DataPortalResult> Create(Type objectType, object criteria, DataPortalContext context, bool isSync)
    {
      if (isSync)
        throw new NotSupportedException("isSync == true");
      InitializeRabbitMQ();
      return await base.Create(objectType, criteria, context, isSync);
    }
public override async Task < DataPortalResult > Create ( Type objectType , object criteria , DataPortalContext context , bool isSync ) { if ( isSync ) throw new NotSupportedException ( " " ) ; InitializeRabbitMQ ( ) ; return await base . Create ( objectType , criteria , context , isSync ) ; }
Called by  to create a
new business object.
Called by to create a new business object .
objectType
Type
Type of business object to create.
Type of business object to create .
criteria
object
Criteria object describing business object.
Criteria object describing business object .
context
DataPortalContext
DataPortalContext object passed to the server.
DataPortalContext object passed to the server .
isSync
bool
True if the client-side proxy should synchronously invoke the server.
True if the client - side proxy should synchronously invoke the server .