/// <summary>
 /// Gets the single of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public MSBuildLogsExtended.CommonBLLEntities.BuildResponseMessageBuiltIn.DefaultGroupedDataView GetSingleOfDefaultGroupedDataViewOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetSingleOfDefaultGroupedDataViewOfByFKOnly(request));
 }
 /// <summary>
 /// Gets the collection of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public MSBuildLogsExtended.CommonBLLEntities.BuildResponseMessageBuiltIn.Default GetCollectionOfDefaultOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetCollectionOfDefaultOfByFKOnly(request));
 }
 /// <summary>
 /// Exists the of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns>true if exists any, otherwise false</returns>
 public Framework.CommonBLLEntities.BusinessLogicLayerResponseMessageBoolean ExistsOfDefaultGroupedDataViewOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.ExistsOfDefaultGroupedDataViewOfByFKOnly(request));
 }
 /// <summary>
 /// Gets the count of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns>the count</returns>
 public Framework.CommonBLLEntities.BusinessLogicLayerResponseMessageInteger GetCountOfDefaultOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetCountOfDefaultOfByFKOnly(request));
 }
 /// <summary>
 /// Gets the single of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public Framework.CommonBLLEntities.BusinessLogicLayerResponseMessageRssItemCollection GetSingleOfRssItemOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetSingleOfRssItemOfByFKOnly(request));
 }
 /// <summary>
 /// Gets the collection of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public Framework.CommonBLLEntities.BusinessLogicLayerResponseMessageNameValuePairCollection GetCollectionOfNameValuePairOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetCollectionOfNameValuePairOfByFKOnly(request));
 }
 /// <summary>
 /// Gets the single of entity of "ByFKOnly".
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public MSBuildLogsExtended.CommonBLLEntities.BuildResponseMessageBuiltIn GetSingleOfEntityOfByFKOnly(
     MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly request)
 {
     return(base.Channel.GetSingleOfEntityOfByFKOnly(request));
 }
Beispiel #8
0
        public void GetDropDownContentsOfBuild_1(Framework.NameValuePair input)
        {
            MSBuildLogsExtended.DataSourceEntities.SolutionIdentifier parentIdentifier = MSBuildLogsExtended.EntityContracts.ISolutionIdentifierHelper.Create <MSBuildLogsExtended.DataSourceEntities.SolutionIdentifier>(input.Value);

            MSBuildLogsExtended.WcfContracts.IBuildServiceAsyn _Instance = MSBuildLogsExtended.WcfContracts.WcfServiceResolverAsyn.ResolveWcfServiceBuild();

            AsyncCallback asyncCallback = delegate(IAsyncResult result)
            {
                try
                {
#if WINDOWS_PHONE
                    DispatcherHelper.Initialize();
#endif
                    DispatcherHelper.CheckBeginInvokeOnUI((Action) delegate()
                    {
                        var responseMessage = _Instance.EndGetCollectionOfNameValuePairOfByFKOnly(result);
                        Framework.NameValueCollection collection = responseMessage.Message;
                        this.DropDownContentsOfBuild_1.Clear();
                        if (collection != null)
                        {
                            foreach (Framework.NameValuePair item in collection)
                            {
                                this.DropDownContentsOfBuild_1.Add(item);
                            }
                        }
                    });
                }
                catch (Exception ex)
                {
                }
            };

            try
            {
                MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly _Request = new MSBuildLogsExtended.CommonBLLEntities.BuildRequestMessageUserDefinedOfByFKOnly()
                {
                    Critieria                      = new MSBuildLogsExtended.CommonBLLEntities.BuildChainedQueryCriteriaByFKOnly(true, parentIdentifier.Id),
                    QueryPagingSetting             = new Framework.EntityContracts.QueryPagingSetting(-1, -1),
                    QueryOrderBySettingCollection  = new Framework.EntityContracts.QueryOrderBySettingCollection(null),
                    BusinessLogicLayerRequestID    = Guid.NewGuid().ToString(),
                    BusinessLogicLayerRequestTypes = Framework.CommonBLLEntities.BusinessLogicLayerRequestTypes.Search,
                };

                _Instance.BeginGetCollectionOfNameValuePairOfByFKOnly(_Request, asyncCallback, null);
            }
            catch (Exception ex)
            {
            }
        }