<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.MaterializeAllRoles Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="MaterializeAllRoles method" /><meta name="System.Keywords" content="RoleServiceProxy.MaterializeAllRoles method" /><meta name="Microsoft.Help.F1" content="CryptoGateway.RDB.Data.AspNetMember.RoleServiceProxy.MaterializeAllRoles" /><meta name="Microsoft.Help.Id" content="M:CryptoGateway.RDB.Data.AspNetMember.RoleServiceProxy.MaterializeAllRoles(CryptoGateway.RDB.Data.AspNetMember.CallContext,CryptoGateway.RDB.Data.AspNetMember.Role)" /><meta name="Description" content="Load the collection of depending entities "AllRoles" of type (T = ) of the entity." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="CryptoGateway.RDB.Data.AspNetMember" /><meta name="file" content="41690e36-0aa5-9c1c-6d9b-3d3fa9e58da3" /><meta name="guid" content="41690e36-0aa5-9c1c-6d9b-3d3fa9e58da3" /><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<span id="ID0EBBABAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBABAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>MaterializeAllRoles Method </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">
Load the collection of depending entities "AllRoles" of type <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/9eekhta0" target="_blank">IEnumerable<span id="ID0ECDMAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0ECDMAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>T<span id="ID0EADMAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EADMAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script></a> (T = <a href="fb9f41dd-4925-c4d8-87cd-2f0130d835a7.htm" target="">Role</a>) of the entity.
</div><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="ID0EDQCAAAAA" class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs" id="ID0EDQCAAAAA_tabs"><div class="OH_CodeSnippetContainerTabLeftActive" id="ID0EDQCAAAAA_tabimgleft"></div><div id="ID0EDQCAAAAA_tab1" class="OH_CodeSnippetContainerTabActive" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDQCAAAAA','C#','1','4');return false;">C#</a></div><div id="ID0EDQCAAAAA_tab2" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDQCAAAAA','Visual Basic','2','4');return false;">VB</a></div><div id="ID0EDQCAAAAA_tab3" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDQCAAAAA','Visual C++','3','4');return false;">C++</a></div><div id="ID0EDQCAAAAA_tab4" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDQCAAAAA','F#','4','4');return false;">F#</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0EDQCAAAAA_tabimgright"></div></div><div id="ID0EDQCAAAAA_codecollection" class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0EDQCAAAAA_ViewColorized" href="#" onclick="javascript:ExchangeTitleContent('ID0EDQCAAAAA','4')" title="View Colorized" style="display: none">View Colorized</a><a id="ID0EDQCAAAAA_copycode" href="#" onclick="javascript:CopyToClipboard('ID0EDQCAAAAA','4')" title="Copy to Clipboard">Copy to Clipboard</a><a id="ID0EDQCAAAAA_PrintText" class="OH_PrintText" href="#" onclick="javascript:Print('ID0EDQCAAAAA','4')" title="Print">Print</a></div></div><div id="ID0EDQCAAAAA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre><span class="keyword">public</span> <span class="identifier">IEnumerable</span><<span class="identifier">Role</span>> <span class="identifier">MaterializeAllRoles</span>(
<span class="identifier">CallContext</span> <span class="parameter">cntx</span>,
<span class="identifier">Role</span> <span class="parameter">entity</span>
)</pre></div><div id="ID0EDQCAAAAA_code_Plain_Div1" class="OH_CodeSnippetContainerCode" style="display: none"><pre>public IEnumerable<Role> MaterializeAllRoles(
CallContext cntx,
Role entity
)</pre></div><div id="ID0EDQCAAAAA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">Public</span> <span class="keyword">Function</span> <span class="identifier">MaterializeAllRoles</span> (
<span class="parameter">cntx</span> <span class="keyword">As</span> <span class="identifier">CallContext</span>,
<span class="parameter">entity</span> <span class="keyword">As</span> <span class="identifier">Role</span>
) <span class="keyword">As</span> <span class="identifier">IEnumerable</span>(<span class="keyword">Of</span> <span class="identifier">Role</span>)</pre></div><div id="ID0EDQCAAAAA_code_Plain_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre>Public Function MaterializeAllRoles (
cntx As CallContext,
entity As Role
) As IEnumerable(Of Role)</pre></div><div id="ID0EDQCAAAAA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">public</span>:
<span class="keyword">virtual</span> <span class="identifier">IEnumerable</span><<span class="identifier">Role</span>^>^ <span class="identifier">MaterializeAllRoles</span>(
<span class="identifier">CallContext</span>^ <span class="parameter">cntx</span>,
<span class="identifier">Role</span>^ <span class="parameter">entity</span>
) <span class="keyword">sealed</span></pre></div><div id="ID0EDQCAAAAA_code_Plain_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>public:
virtual IEnumerable<Role^>^ MaterializeAllRoles(
CallContext^ cntx,
Role^ entity
) sealed</pre></div><div id="ID0EDQCAAAAA_code_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">abstract</span> <span class="identifier">MaterializeAllRoles</span> :
<span class="parameter">cntx</span> : <span class="identifier">CallContext</span> *
<span class="parameter">entity</span> : <span class="identifier">Role</span> <span class="keyword">-></span> <span class="identifier">IEnumerable</span><<span class="identifier">Role</span>>
<span class="keyword">override</span> <span class="identifier">MaterializeAllRoles</span> :
<span class="parameter">cntx</span> : <span class="identifier">CallContext</span> *
<span class="parameter">entity</span> : <span class="identifier">Role</span> <span class="keyword">-></span> <span class="identifier">IEnumerable</span><<span class="identifier">Role</span>> </pre></div><div id="ID0EDQCAAAAA_code_Plain_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>abstract MaterializeAllRoles :
cntx : CallContext *
entity : Role -> IEnumerable<Role>
override MaterializeAllRoles :
cntx : CallContext *
entity : Role -> IEnumerable<Role> </pre></div></div></div><script>addSpecificTextLanguageTagSet('ID0EDQCAAAAA');</script></div><div id="parameters"><h4 class="subHeading">Parameters</h4><dl paramName="cntx"><dt><span class="parameter">cntx</span></dt><dd>Type: <a href="1a3658b6-b213-9ff6-572e-f77262c032c5.htm" target="">CryptoGateway.RDB.Data.AspNetMember<span id="ID0EBCABPCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCABPCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>CallContext</a><br /><span>Authenticated caller context object. If cannot be null.</span></dd></dl><dl paramName="entity"><dt><span class="parameter">entity</span></dt><dd>Type: <a href="fb9f41dd-4925-c4d8-87cd-2f0130d835a7.htm" target="">CryptoGateway.RDB.Data.AspNetMember<span id="ID0EBCAAPCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCAAPCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>Role</a><br /><span>The entity.</span></dd></dl></div><h4 class="subHeading">Return Value</h4>Type: <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/9eekhta0" target="_blank">IEnumerable</a><span id="ID0ELCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0ELCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script><a href="fb9f41dd-4925-c4d8-87cd-2f0130d835a7.htm" target="">Role</a><span id="ID0EJCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EJCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script><br />
An collecton of type <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/9eekhta0" target="_blank">IEnumerable<span id="ID0ECGCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0ECGCAAAAA?vb=(Of |cpp=<|cs=<|fs=<'|nu=(");
</script>T<span id="ID0EAGCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EAGCAAAAA?vb=)|cpp=>|cs=>|fs=>|nu=)");
</script></a> (T = <a href="fb9f41dd-4925-c4d8-87cd-2f0130d835a7.htm" target="">Role</a>).
<h4 class="subHeading">Implements</h4><a href="a6766bb5-a448-b745-649b-b88cd0a63509.htm" target="">IRoleService2<span id="ID0EBBCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>MaterializeAllRoles(CallContext, Role)</a><br /><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="3674c2e2-0914-1b14-4608-00eab7da8317.htm" target="">RoleServiceProxy Class</a></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.MaterializeAllRoles+Method++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>