示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }
示例#4
0
        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));
        }
示例#5
0
 public void CustomUpdateEntity(GlobalNamespaceTest_Enum enumParameter)
 {
     this.OnCustomUpdateEntityInvoking(enumParameter);
     base.InvokeAction("CustomUpdateEntity", enumParameter);
     this.OnCustomUpdateEntityInvoked();
 }
示例#6
0
 partial void OnCustomUpdateEntityInvoking(GlobalNamespaceTest_Enum enumParameter);
示例#7
0
 partial void OnEnumPropertyChanging(GlobalNamespaceTest_Enum value);
示例#8
0
 /// <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);
 }
 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);
 }