1
- using Umbraco . Commerce . Core . Events ;
1
+ using Umbraco . Commerce . Core . Events ;
2
2
using Umbraco . Commerce . Core . Models ;
3
3
using Umbraco . Cms . Core . Composing ;
4
4
using Umbraco . Cms . Core . Deploy ;
@@ -60,7 +60,7 @@ private void RegisterUdiTypes()
60
60
private void InitializeIntegratedEntities ( )
61
61
{
62
62
// Add in integrated transfer entities
63
- _transferEntityService . RegisterTransferEntityType (
63
+ _transferEntityService . RegisterTransferEntityType < ProductAttributeReadOnly > (
64
64
UmbracoCommerceConstants . UdiEntityType . ProductAttribute ,
65
65
"Product Attributes" ,
66
66
new DeployRegisteredEntityTypeDetailOptions
@@ -85,7 +85,7 @@ private void InitializeIntegratedEntities()
85
85
( string nodeId , HttpContext httpContext , out Guid entityId ) => Guid . TryParse ( nodeId , out entityId ) ) ;
86
86
// TODO: , new DeployTransferRegisteredEntityTypeDetail.RemoteTreeDetail(FormsTreeHelper.GetExampleTree, "example", "externalExampleTree"));
87
87
88
- _transferEntityService . RegisterTransferEntityType (
88
+ _transferEntityService . RegisterTransferEntityType < ProductAttributePresetReadOnly > (
89
89
UmbracoCommerceConstants . UdiEntityType . ProductAttributePreset ,
90
90
"Product Attribute Presets" ,
91
91
new DeployRegisteredEntityTypeDetailOptions
0 commit comments