<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp"><head><link rel="SHORTCUT ICON" href="./../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { backgroundImageName: tabLeftBG.gif; }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { backgroundImageName: tabRightBG.gif; }.OH_footer { backgroundImageName: footer_slice.gif; background-position: top; background-repeat: repeat-x; }</style><link rel="stylesheet" type="text/css" href="./../styles/branding.css" /><link rel="stylesheet" type="text/css" href="./../styles/branding-en-US.css" /><style type="text/css">
body
{
border-left:5px solid #e6e6e6;
overflow-x:scroll;
overflow-y:scroll;
}
</style><script src="./../scripts/branding.js" type="text/javascript"><!----></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>RoleServiceProxy Class</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="RoleServiceProxy class" /><meta name="System.Keywords" content="CryptoGateway.RDB.Data.AspNetMember.RoleServiceProxy class" /><meta name="System.Keywords" content="RoleServiceProxy class, about RoleServiceProxy class" /><meta name="Microsoft.Help.F1" content="CryptoGateway.RDB.Data.AspNetMember.RoleServiceProxy" /><meta name="Microsoft.Help.Id" content="T:CryptoGateway.RDB.Data.AspNetMember.RoleServiceProxy" /><meta name="Description" content="Proxy for service." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="CryptoGateway.RDB.Data.AspNetMember" /><meta name="file" content="3674c2e2-0914-1b14-4608-00eab7da8317" /><meta name="guid" content="3674c2e2-0914-1b14-4608-00eab7da8317" /><link type="text/css" rel="stylesheet" href="ms-help://Hx/HxRuntime/HxLink.css" /><meta name="SelfBranded" content="true" /></head><body onload="onLoad()" class="primary-mtps-offline-document"><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">RoleServiceProxy Class</td><td class="OH_tdRunningTitleColumn">Service Proxy API for Membership data sources</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[This is preliminary documentation and is subject to change.]</p><div class="summary">
Proxy for <a href="d2e83730-ccc7-4a5b-4a47-92e950ab5747.htm" target="">IRoleService2</a> service.
</div><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Inheritance Hierarchy</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span id="ID0EBKNAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBKNAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>Object</a><br /> <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/ms576141" target="_blank">System.ServiceModel<span id="ID0EBHNAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBHNAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>ClientBase</a><span id="ID0EGNAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EGNAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script><a href="d2e83730-ccc7-4a5b-4a47-92e950ab5747.htm" target="">IRoleService2</a><span id="ID0EENAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EENAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script><br /> <span class="selflink">CryptoGateway.RDB.Data.AspNetMember<span id="ID0EBBNAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBNAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>RoleServiceProxy</span><br /><p></p><b>Namespace:</b> <a href="9b9992ae-86cf-af3e-5eb6-8fad208413c4.htm" target="">CryptoGateway.RDB.Data.AspNetMember</a><br /><b>Assembly:</b> <span sdata="assembly">AspNetMemberServiceProxy.Desktop</span> (in AspNetMemberServiceProxy.Desktop.dll) Version: 0.0.0.0<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Syntax</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div id="snippetGroup_Syntax" class="code"><div id="ID0EDADAAAAA" class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs" id="ID0EDADAAAAA_tabs"><div class="OH_CodeSnippetContainerTabLeftActive" id="ID0EDADAAAAA_tabimgleft"></div><div id="ID0EDADAAAAA_tab1" class="OH_CodeSnippetContainerTabActive" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDADAAAAA','C#','1','4');return false;">C#</a></div><div id="ID0EDADAAAAA_tab2" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDADAAAAA','Visual Basic','2','4');return false;">VB</a></div><div id="ID0EDADAAAAA_tab3" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDADAAAAA','Visual C++','3','4');return false;">C++</a></div><div id="ID0EDADAAAAA_tab4" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDADAAAAA','F#','4','4');return false;">F#</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0EDADAAAAA_tabimgright"></div></div><div id="ID0EDADAAAAA_codecollection" class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0EDADAAAAA_ViewColorized" href="#" onclick="javascript:ExchangeTitleContent('ID0EDADAAAAA','4')" title="View Colorized" style="display: none">View Colorized</a><a id="ID0EDADAAAAA_copycode" href="#" onclick="javascript:CopyToClipboard('ID0EDADAAAAA','4')" title="Copy to Clipboard">Copy to Clipboard</a><a id="ID0EDADAAAAA_PrintText" class="OH_PrintText" href="#" onclick="javascript:Print('ID0EDADAAAAA','4')" title="Print">Print</a></div></div><div id="ID0EDADAAAAA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre><span class="keyword">public</span> <span class="keyword">class</span> <span class="identifier">RoleServiceProxy</span> : <span class="identifier">ClientBase</span><<span class="identifier">IRoleService2</span>>,
<span class="identifier">IRoleService2</span></pre></div><div id="ID0EDADAAAAA_code_Plain_Div1" class="OH_CodeSnippetContainerCode" style="display: none"><pre>public class RoleServiceProxy : ClientBase<IRoleService2>,
IRoleService2</pre></div><div id="ID0EDADAAAAA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">Public</span> <span class="keyword">Class</span> <span class="identifier">RoleServiceProxy</span>
<span class="keyword">Inherits</span> <span class="identifier">ClientBase</span>(<span class="keyword">Of</span> <span class="identifier">IRoleService2</span>)
<span class="keyword">Implements</span> <span class="identifier">IRoleService2</span></pre></div><div id="ID0EDADAAAAA_code_Plain_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre>Public Class RoleServiceProxy
Inherits ClientBase(Of IRoleService2)
Implements IRoleService2</pre></div><div id="ID0EDADAAAAA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">public</span> <span class="keyword">ref class</span> <span class="identifier">RoleServiceProxy</span> : <span class="keyword">public</span> <span class="identifier">ClientBase</span><<span class="identifier">IRoleService2</span>^>,
<span class="identifier">IRoleService2</span></pre></div><div id="ID0EDADAAAAA_code_Plain_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>public ref class RoleServiceProxy : public ClientBase<IRoleService2^>,
IRoleService2</pre></div><div id="ID0EDADAAAAA_code_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">type</span> <span class="identifier">RoleServiceProxy</span> =
<span class="keyword">class</span>
<span class="keyword">inherit</span> <span class="identifier">ClientBase</span><<span class="identifier">IRoleService2</span>>
<span class="keyword">interface</span> <span class="identifier">IRoleService2</span>
<span class="keyword">end</span></pre></div><div id="ID0EDADAAAAA_code_Plain_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>type RoleServiceProxy =
class
inherit ClientBase<IRoleService2>
interface IRoleService2
end</pre></div></div></div><script>addSpecificTextLanguageTagSet('ID0EDADAAAAA');</script></div><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Remarks</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><p>
Methods of the service are categorized in the following:
</p><div class="tableSection"><table><tr><th>Adding, Updating or Removing</th><th></th></tr><tr><td>Description</td><td>
Adding, updating or removing entity graphs to or from data source.
</td></tr><tr><td>Methods</td><td><a href="eedc5aa4-0749-3739-5b70-ec51761bf7f2.htm" target="">AddOrUpdateEntities(CallContext, RoleSet, <span id="ID0EDFAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDFAAAKCAAAAA?vb=|cpp=array<|cs=|fs=|nu=");
</script>Role<span id="ID0EBFAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBFAAAKCAAAAA?vb=()|cpp=>|cs=[]|fs=[]|nu=[]");
</script>)</a>, <a href="20cbdb7a-7a7e-f48f-62a2-e78b3c9995aa.htm" target="">EnqueueNewOrUpdateEntities(CallContext, RoleSet, <span id="ID0EDDAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDDAAAKCAAAAA?vb=|cpp=array<|cs=|fs=|nu=");
</script>Role<span id="ID0EBDAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBDAAAKCAAAAA?vb=()|cpp=>|cs=[]|fs=[]|nu=[]");
</script>)</a>, and <a href="1b1d5d21-2de4-536a-a31c-7b24678cbec0.htm" target="">DeleteEntities(CallContext, RoleSet, <span id="ID0EDBAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDBAAAKCAAAAA?vb=|cpp=array<|cs=|fs=|nu=");
</script>Role<span id="ID0EBBAAAKCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBAAAKCAAAAA?vb=()|cpp=>|cs=[]|fs=[]|nu=[]");
</script>)</a>.
</td></tr></table></div><div class="tableSection"><table><tr><th>Paged Listing</th><th></th></tr><tr><td>Description</td><td>
Provides paged listing of query results.
</td></tr><tr><td>Methods</td><td><a href="e43d2a6c-f2ef-d612-5e00-9ebafb97224e.htm" target="">NextPageBlock(CallContext, RoleSet, QueryExpresion, Role)</a> and <a href="f0bf3c01-b683-8e12-f841-e8cd9fc7146b.htm" target="">GetPageItems(CallContext, RoleSet, QueryExpresion, Role)</a>,
</td></tr></table></div><div class="tableSection"><table><tr><th>Querying</th><th></th></tr><tr><td>Description</td><td>
Query the data source.
</td></tr><tr><td>Methods</td><td><a href="4d693a16-4d87-489d-e6f2-515dba3d1503.htm" target="">QueryEntityCount(CallContext, RoleSet, QueryExpresion)</a>, <a href="5367d876-bf02-0bd8-b836-3a4c3fcd49dd.htm" target="">QueryDatabase(CallContext, RoleSet, QueryExpresion)</a>, <a href="759868a6-2673-fa3b-664a-60d0783e5640.htm" target="">QueryDatabaseLimited(CallContext, RoleSet, QueryExpresion, Int32)</a>,
</td></tr></table></div><div class="tableSection"><table><tr><th>Entity Lookup</th><th></th></tr><tr><td>Description</td><td>
Find an entity from the corresponding entity set.
</td></tr><tr><td>Methods</td><td><a href="6622dbb8-4a10-11bb-1ac5-150d936d17ec.htm" target="">LoadEntityByKey(CallContext, Int32)</a> and <a href="e76227df-bb62-a08e-7117-246ba6ff45cd.htm" target="">LoadEntityByNature(CallContext, String, String, Nullable<span id="ID0EDBAAAHCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDBAAAHCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>Int32<span id="ID0EBBAAAHCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBAAAHCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script>)</a>,
</td></tr></table></div><div class="tableSection"><table><tr><th>Conditioned Querying</th><th></th></tr><tr><td>Description</td><td>
When entities in an entity set depends on entities in other sets, query the data source under condition that some or all the entities that the current entity set depends on
are given.
</td></tr><tr><td>Methods</td><td><a href="a8a6147f-7592-bc68-f02c-a90785d00779.htm" target="">ConstraintQueryEntityCount(CallContext, RoleSet, RoleSetConstraints, QueryExpresion)</a>, <a href="5d0b0262-2f82-46da-169f-2767fd473414.htm" target="">ConstraintQuery(CallContext, RoleSet, RoleSetConstraints, QueryExpresion)</a>, <a href="6f4440b7-f6ca-e0ff-5185-fa42b40ee07b.htm" target="">ConstraintQueryLimited(CallContext, RoleSet, RoleSetConstraints, QueryExpresion, Int32)</a>,
</td></tr></table></div><div class="tableSection"><table><tr><th>Querying Intelligency</th><th></th></tr><tr><td>Description</td><td>
Provides a self-complete system for clients to construct query expressions. What completeness means here is that all options are included and
no extra (to the query system) options are present.
</td></tr><tr><td>Methods</td><td><a href="ef400a0a-8460-bbd5-fec4-f002def7d50e.htm" target="">GetNextSorterOps(CallContext, List<span id="ID0EDDAAAFCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDDAAAFCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>QToken<span id="ID0EBDAAAFCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBDAAAFCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script>)</a> and <a href="2a96096f-e657-9a52-fbc1-ec116a700c8f.htm" target="">GetNextFilterOps(CallContext, QueryExpresion, String)</a>.
</td></tr></table></div><div class="tableSection"><table><tr><th>Delay Loaded Properties</th><th></th></tr><tr><td>Description</td><td>
Properties that are loaded on demand.
</td></tr><tr><td>Methods (loading)</td><td><a href="c0e1ac19-d3d9-1170-c5ee-30fbfbd49187.htm" target="">LoadEntityDescription(CallContext, Int32)</a></td></tr><tr><td>Methods (uploading)</td><td><a href="e04a288d-7b6b-4ba8-6c3a-d25ddea2358b.htm" target="">UpdateEntityDescription(CallContext, Int32, String)</a></td></tr></table></div><div class="tableSection"><table><tr><th>Entity Hierarchy</th><th></th></tr><tr><td>Description</td><td>
Entity hierarchy load, navigation methods.
</td></tr><tr><td>Methods</td><td><a href="e30a0da6-2ac8-59d2-5393-ae36ab81f5a5.htm" target="">LoadEntitySetRoots(CallContext)</a>, <a href="4bc2c8a9-a013-30a9-b232-6062dad9adfe.htm" target="">LoadEntityParent(CallContext, EntityAbs<span id="ID0EDHAAADCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDHAAADCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>Role<span id="ID0EBHAAADCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBHAAADCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script>)</a>, <a href="f8d7f9ec-51f5-7e93-4c15-44a5dd3ca712.htm" target="">LoadEntityChildren(CallContext, EntityAbs<span id="ID0EDFAAADCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDFAAADCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>Role<span id="ID0EBFAAADCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBFAAADCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script>)</a>,
<a href="e100c26a-9d12-c4ad-c323-44eacfeb5da4.htm" target="">LoadEntityHierarchyRecurs(CallContext, Role, Int32, Int32)</a>, <a href="b25bb22c-0983-f5ed-5b10-f2a6e323de36.htm" target="">LoadEntityFullHierarchyRecurs(CallContext, Role)</a>.
</td></tr></table></div><div class="tableSection"><table><tr><th>Upstream Navigation</th><th></th></tr><tr><td>Description</td><td>
Load and/or navigates to entities an entity in the current entity set depends upon.
</td></tr><tr><td>Methods</td><td><a href="b4b8798b-55c2-c10b-b706-83216da2f025.htm" target="">MaterializeApplication_Ref(CallContext, Role)</a>, <a href="4de33895-cb53-3005-ade2-620893db1d93.htm" target="">MaterializeUpperRef(CallContext, Role)</a>.
</td></tr></table></div><div class="tableSection"><table><tr><th>Downstream Navigation</th><th></th></tr><tr><td>Description</td><td>
Load and/or navigates to entity sets that depend on an entity in the current entity set.
</td></tr><tr><td>Methods</td><td><a href="75267079-698b-ea6a-1e80-64ce707976bd.htm" target="">MaterializeRoles(CallContext, Role)</a>, <a href="b92bafd1-c2c5-0949-74cd-d8a38517827d.htm" target="">MaterializeUsersInRoles(CallContext, Role)</a>.
</td></tr></table></div><div class="tableSection"><table><tr><th>Entity graph building</th><th></th></tr><tr><td>Description</td><td>
Load a selected entity graph from the data source starting at an entity having specified primary key(s)
</td></tr><tr><td>Methods</td><td><a href="cc9d9a1f-473f-b4a6-fc1e-53e8ee93ac5f.htm" target="">LoadEntityGraphRecurs(CallContext, Int32, <span id="ID0EHBAAAACAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EHBAAAACAAAAA?vb=|cpp=array<|cs=|fs=|nu=");
</script>EntitySetType<span id="ID0EFBAAAACAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EFBAAAACAAAAA?vb=()|cpp=>|cs=[]|fs=[]|nu=[]");
</script>, <span id="ID0EDBAAAACAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EDBAAAACAAAAA?vb=|cpp=array<|cs=|fs=|nu=");
</script>EntitySetRelation<span id="ID0EBBAAAACAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBAAAACAAAAA?vb=()|cpp=>|cs=[]|fs=[]|nu=[]");
</script>)</a>.
</td></tr></table></div><a name="seeAlsoSection"><!----></a><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div class="seeAlsoStyle"><a href="25204453-d9de-4a7d-65ac-f2a844047dba.htm" target="">RoleServiceProxy Members</a></div><div class="seeAlsoStyle"><a href="9b9992ae-86cf-af3e-5eb6-8fad208413c4.htm" target="">CryptoGateway.RDB.Data.AspNetMember Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"><p /><div class="OH_feedbacklink"><a href="mailto:?subject=Service+Proxy+API+for+Membership+data+sources+RoleServiceProxy+Class+100+EN-US&body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2c%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2c%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.">Send Feedback</a> on this topic.</div></div></body></html>