public System.Threading.Tasks.Task <InvokeResult> InvokeVoidAsync([GlobalNamespaceTest_Validation()] GlobalNamespaceTest_Enum enumParameter, CancellationToken cancellationToken = default(CancellationToken)) { Dictionary <string, object> parameters = new Dictionary <string, object>(); parameters.Add("enumParameter", enumParameter); this.ValidateMethod("InvokeVoid", parameters); return(this.InvokeOperationAsync("InvokeVoid", parameters, true, cancellationToken)); }
public InvokeOperation <GlobalNamespaceTest_Enum> InvokeReturn([GlobalNamespaceTest_Validation()] GlobalNamespaceTest_Enum enumParameter) { Dictionary <string, object> parameters = new Dictionary <string, object>(); parameters.Add("enumParameter", enumParameter); this.ValidateMethod("InvokeReturn", parameters); return(this.InvokeOperation <GlobalNamespaceTest_Enum>("InvokeReturn", typeof(GlobalNamespaceTest_Enum), parameters, true, null, null)); }
public EntityQuery <GlobalNamespaceTest_Entity> ReadEntitiesQuery([GlobalNamespaceTest_Validation()] GlobalNamespaceTest_Enum enumParameter) { Dictionary <string, object> parameters = new Dictionary <string, object>(); parameters.Add("enumParameter", enumParameter); this.ValidateMethod("ReadEntitiesQuery", parameters); return(base.CreateQuery <GlobalNamespaceTest_Entity>("ReadEntities", parameters, false, true)); }
public InvokeOperation InvokeVoid([GlobalNamespaceTest_Validation()] GlobalNamespaceTest_Enum enumParameter, Action <InvokeOperation> callback, object userState) { Dictionary <string, object> parameters = new Dictionary <string, object>(); parameters.Add("enumParameter", enumParameter); this.ValidateMethod("InvokeVoid", parameters); return(this.InvokeOperation("InvokeVoid", typeof(void), parameters, true, callback, userState)); }
public void CustomUpdateEntity(GlobalNamespaceTest_Enum enumParameter) { this.OnCustomUpdateEntityInvoking(enumParameter); base.InvokeAction("CustomUpdateEntity", enumParameter); this.OnCustomUpdateEntityInvoked(); }
partial void OnCustomUpdateEntityInvoking(GlobalNamespaceTest_Enum enumParameter);
partial void OnEnumPropertyChanging(GlobalNamespaceTest_Enum value);
/// <summary> /// Invokes the 'CustomUpdateEntity' method of the specified <see cref="GlobalNamespaceTest_Entity"/> entity. /// </summary> /// <param name="entity">The <see cref="GlobalNamespaceTest_Entity"/> entity instance.</param> /// <param name="enumParameter">The value for the 'enumParameter' parameter for this action.</param> public void CustomUpdateEntity(GlobalNamespaceTest_Entity entity, GlobalNamespaceTest_Enum enumParameter) { entity.CustomUpdateEntity(enumParameter); }