Need help with null reference object exception. Sql Profile/Trace included

2 posts, 0 answers
  1. Jand
    Jand avatar
    1 posts
    Member since:
    Mar 2012

    Posted 13 May 2012 Link to this post

    Hi I am getting 

    Telerik.OpenAccess.Exceptions.DataStoreException was unhandled by user code
      HResult=-2146233088
      Message=System.NullReferenceException: Object reference not set to an instance of an object.
       at OpenAccessRuntime.Relational.RelationalStorageManager.getStateImp(RelationalOID oid, FetchPlanIF fPlan, Boolean forUpdate, StateContainer container, RelationalClass relationalClass)
       at OpenAccessRuntime.Relational.RelationalStorageManager.getState(OID oid, FetchPlanIF fPlan, StateContainer container)
       at OpenAccessRuntime.Relational.RelationalStorageManager.fetch(ApplicationContext context, OID oid, State current, FetchPlanIF fPlan, FieldMetaData triggerField) 
      Source=ALNSite
      CanRetry=false
      StackTrace:
           at ALNSite.Admin.Campaigns.ManageCampaigns.gridCampaign_OnInsertCommand(Object sender, GridCommandEventArgs e) in g:\DEV\AutoLeadNow\ReportViewerRemoteMode\Admin\Campaigns\ManageCampaigns.aspx.cs:line 124
           at Telerik.Web.UI.RadGrid.OnInsertCommand(GridCommandEventArgs e)
           at Telerik.Web.UI.RadGrid.CallOnInsertCommand(GridCommandEventArgs gridCommandEventArgs)
           at Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source)
           at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
           at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
           at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
           at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
           at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
           at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
           at Telerik.Web.UI.GridEditFormItem.OnBubbleEvent(Object source, EventArgs e)
           at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
           at Telerik.Web.UI.RadButton.OnCommand(ButtonCommandEventArgs e)
           at Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument)
           at Telerik.Web.UI.RadButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
           at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
           at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      InnerException: System.NullReferenceException
           HResult=-2147467261
           Message=Object reference not set to an instance of an object.
           Source=Telerik.OpenAccess.Runtime
           StackTrace:
                at OpenAccessRuntime.Relational.RelationalStorageManager.getStateImp(RelationalOID oid, FetchPlanIF fPlan, Boolean forUpdate, StateContainer container, RelationalClass relationalClass)
                at OpenAccessRuntime.Relational.RelationalStorageManager.getState(OID oid, FetchPlanIF fPlan, StateContainer container)
                at OpenAccessRuntime.Relational.RelationalStorageManager.fetch(ApplicationContext context, OID oid, State current, FetchPlanIF fPlan, FieldMetaData triggerField)
           InnerException: 


    Code that causes it:

                             try
                                {
                                    win = int.TryParse(neweditForm.OwnerTableView.ParentItem.GetDataKeyValue("CampaignID").ToString(),
                                                           out cid);
                                    win2 = int.Parse(editFormItem.GetDataKeyValue("CampaignID").ToString());
                                }
                                catch
                                {
                                    
                                }
                                var cmbPubAdd = neweditForm.FindControl("cmbPubAdd") as RadComboBox;
                                //var cid2 = editFormItem.GetDataKeyValue("CampaignID").ToString();
                                //  var win = int.TryParse(cid2, out cid);
                                if (cmbPubAdd == null || cmbPubAdd.SelectedValue == null |!win) return;
                                Guid key;
                                var success = Guid.TryParse(cmbPubAdd.SelectedValue, out key);
                                if (success)
                                {
                                    var cu = new CampaignUsers {UserID = key, CampaignID = cid};


                                    // var myuser = db.GetObjectByKey<ALNUserInfo>(new ObjectKey("ALNUserInfo", key));




                                    var thecampaign = db.Campaigns.FirstOrDefault(p => p.CampaignID == cid);
                                    gv = editFormItem.OwnerTableView;
                                    if (thecampaign != null) thecampaign.CampaignUsers.Add(cu);
                                    try
                                    {
                                        db.SaveChanges();
                                    }


                                    catch (Telerik.OpenAccess.Exceptions.DataStoreException oe)
                                    {


                                        throw oe;
                                    }
                                }


    Same thing here:

           protected void RadGrid1_InsertCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
            {
                var a = new PostbackFields();
                if (!(e.Item is GridEditableItem) || !e.Item.IsInEditMode) return;
                var editableItem = ((GridEditableItem)e.Item);
                var txt = editableItem.FindControl("txtFieldName") as RadTextBox;
                var mu = db.ALNUserInfos.FirstOrDefault(p => p.UserName == userName);
                
                var cmb = editableItem.FindControl("cmbReplace") as RadComboBox;
                if (cmb == null || txt == null || mu == null) return;
                a.FieldName = txt.Text;
                a.FieldValue = cmb.SelectedValue;
                    a.NetworkID=mu.UserID;
                    mu.PostbackFields.Add(a);
                
                try
                {
                        
                    db.SaveChanges();
                }
                catch (OpenAccessException oe)
                {
                    if (oe.CanRetry)
                    {
                        db.Add(a);
                    }
                    else
                    {
                        throw oe;
                    }
                }
                var sb = new StringBuilder(txtBaseUrl.Text);
                foreach (var i in db.PostbackFields.Where(p => p.NetworkID == mu.UserID || p.NetworkID == Guid.Empty))
                    sb.Append("&" + i.FieldName + "=" + i.FieldValue);            
                sb.Replace("%AFFID%", txtAff.Text);
                    sb.Replace("%TAG%", txtTag.Text);
                    sb.Replace("%HITID%", txtHitID.Text);
                    sb.Replace("%PRICE%", txtPrice.Text);
                    sb.Replace("%LEADID%", txtLID.Text);
                    var after = sb.ToString();
                var sb2 = HttpUtility.UrlEncode(sb.ToString());


                lblUrl.Text = sb2;
                RadGrid1.Rebind();
                //  var personId = (int)editableItem.GetDataKeyValue("PersonID");
            }


    I also get the following on any code generation method other then attributes:


    Error 38 Object reference not set to an instance of an object.
    ExceptionString:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.OpenAccess.Metadata.MetadataCollection`1.InsertItem(Int32 index, T item)
       at System.Collections.ObjectModel.Collection`1.Add(T item)
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.ReadPersistentTypes()
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.ReadMetaModel()
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.ReadMetaModel(Assembly assembly)
       at Telerik.OpenAccess.Metadata.AttributesMetadataSource.<>c__DisplayClass1.<FromAssembly>b__0()
       at Telerik.OpenAccess.Metadata.AttributesMetadataSource.CreateModel()
       at Telerik.OpenAccess.Metadata.MetadataSource.GetModelCore(MetadataContainer model)
       at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.CrossDomainRunImpl(AssemblyLoader assemblyLoader)
       at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.CrossDomainRun() g:\DEV\AutoLeadNow\AutoLeadNow\ALNDataLayer\obj\Debug\ALNDataLayer.dll ALNDataLayer





    Link to open access sql profile dump:

    http://dl.dropbox.com/u/493327/profile.oalog.oalog

    Intellitrace: 
    http://dl.dropbox.com/u/493327/intellitrace.jpg

    Model: http://dl.dropbox.com/u/493327/model.jpg

    Rlinq: 

    <?xml version="1.0" encoding="utf-8"?>
    <DomainModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="2.0.0.0" name="ALNContext" namespace="ALNDataLayer" showPropertiesCompartment="true" xmlns="http://www.telerik.com/ORM">
      <orm:orm name="ALNContext" backend="azure" xmlns:orm="http://tempuri.org/ORM">
        <orm:namespace name="ALNDataLayer" default="true">
          <orm:class name="Supression" behavior="readwrite" uniqueId="ae229906-62f0-4224-817b-1b3413052cd2">
            <orm:table name="Supression" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_ID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_ID" property="ID" behavior="readwrite" uniqueId="01347160-6efe-461c-ac35-e507da16e391" type="System.Int32">
              <orm:column name="ID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Email" property="Email" behavior="readwrite" uniqueId="940b7eea-eb57-4b2a-8877-23d9a564ed08" type="System.String">
              <orm:column name="E-mail" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_Telephone" property="Telephone" behavior="readwrite" uniqueId="c50b95b2-b46e-4db3-9058-a3b9dfb4dcfc" type="System.String">
              <orm:column name="Telephone" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="9c9faff7-f5ec-4564-9d34-21e441eb8316" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
          </orm:class>
          <orm:class name="Creative" behavior="readwrite" uniqueId="3bb0d28f-3d68-4d4f-a089-40e5fd789fef">
            <orm:table name="ALNCreatives" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_CreativeID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_CreativeID" property="CreativeID" behavior="readwrite" uniqueId="991bc177-894e-46ea-a347-240843ec7853" type="System.Int32">
              <orm:column name="CreativeID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="523d1f0f-e36a-4b7a-9e47-e9fafc211bfa" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Name" property="Name" behavior="readwrite" uniqueId="b74b88ba-48ae-4bf4-9a1b-221d5b6d745e" type="System.String">
              <orm:column name="Name" sql-type="varchar" nullable="false" length="100" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_Description" property="Description" behavior="readwrite" uniqueId="9e24291f-1e94-4d08-bc68-9e16931368e3" type="System.String">
              <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_CreativeType" property="CreativeType" behavior="readwrite" uniqueId="40401292-0c2a-4678-93f6-23080bc4793c" type="ALNDataLayer.Enums.Creative_Type">
              <orm:column name="CreativeType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_CreativeLink" property="CreativeLink" behavior="readwrite" uniqueId="0d4c20dc-1532-45ce-80df-395f53ac8351" type="System.String">
              <orm:column name="CreativeLink" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
          </orm:class>
          <orm:class name="CompanyInfo" behavior="readwrite" uniqueId="9bfbd326-e985-4241-b73c-dfa328e57557">
            <orm:table name="ALNCompanyInfo" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_CompanyInfoID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_CompanyInfoID" property="CompanyInfoID" behavior="readwrite" uniqueId="30ae31df-8bb4-43a8-bf1b-7ad2f2beae1b" type="System.Int32">
              <orm:column name="CompanyInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_CompanyName" property="CompanyName" behavior="readwrite" uniqueId="57433211-2c11-4b73-b2a5-c3a607bd6fe7" type="System.String">
              <orm:column name="CompanyName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_AddressInfoID" property="AddressInfoID" behavior="readwrite" uniqueId="d4cacbc2-6a1e-4c96-b000-4926a8324ac7" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_CompanyType" property="CompanyType" behavior="readwrite" uniqueId="206722c3-0d40-4501-baf4-e1bd3a395044" type="ALNDataLayer.Enums.Entity_Type">
              <orm:column name="CompanyType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_EIN" property="EIN" behavior="readwrite" uniqueId="eba971c6-c38a-4424-8c45-8c3e048cb439" type="System.String">
              <orm:column name="EIN" sql-type="varchar" nullable="true" length="12" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_CompanyAddress" property="CompanyAddress" behavior="readwrite" uniqueId="fbf2db83-f710-4641-824f-49b6bf325550" type="ALNDataLayer.AddressInfo" dependent="true">
              <orm:reference uniqueId="76851926-2c9a-4345-9773-5e89a800cf13">
                <orm:sharedfield name="_AddressInfoID" target-class="ALNDataLayer.AddressInfo" target-field="_AddressInfoID" />
                <orm:constraint name="FK__ALNCompan__Addre__1E05700A" destination-table="ALNAddressInfo" />
              </orm:reference>
            </orm:field>
          </orm:class>
          <orm:class name="CampaignTraffic" update-schema="true" behavior="readwrite" uniqueId="810b10bc-7502-4519-b7d7-c0a0a94ccc1c">
            <orm:table name="ALNCampaignTraffic" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_EntryID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_EntryID" property="EntryID" behavior="readwrite" uniqueId="986d861b-0386-4f67-b840-e527b5d56f80" type="System.Int32">
              <orm:column name="EntryID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="559bbfdf-5ded-4531-8505-6fb072907cf6" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_TrafficType" property="TrafficType" behavior="readwrite" uniqueId="22992e11-85f4-4b78-86a9-e02f59f2fe28" type="ALNDataLayer.Enums.Traffic_Type">
              <orm:column name="TrafficType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_Allowed" property="Allowed" behavior="readwrite" uniqueId="5f9637d7-d089-40f1-8e0e-d6454815738b" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="Allowed" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_Description" property="Description" behavior="readwrite" uniqueId="42fb1d65-fb42-4740-8e33-fb5ed0fc0f83" type="System.String">
              <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
          </orm:class>
          <orm:class name="CampaignRestriction" behavior="readwrite" uniqueId="14693a28-1305-43a3-bc0d-505c26d0a50e">
            <orm:table name="ALNCampaignRestrictions" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_RestrictionID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_RestrictionID" property="RestrictionID" behavior="readwrite" uniqueId="301db3de-22dd-421a-bfa8-74c7eed42069" type="System.Int32">
              <orm:column name="RestrictionID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="1a301d57-3332-4dff-81bc-a775aee9e64e" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Description" property="Description" behavior="readwrite" uniqueId="eaaa25d7-bf35-434e-932c-47700c9abf5e" type="System.String">
              <orm:column name="Description" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
          </orm:class>
          <orm:class name="Campaign" behavior="readwrite" uniqueId="5ad54305-1b91-4b8e-b9e4-79d5e939e978">
            <orm:table name="ALNCampaignInfo" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_CampaignID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:discriminator discriminator-value="ALNDataLayer.Campaign" />
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="b251b555-2679-435d-a16c-36be8397e71b" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Name" property="Name" behavior="readwrite" uniqueId="7373637d-466a-4a0d-9e76-c53f64b4c04f" type="System.String">
              <orm:column name="Name" sql-type="varchar" nullable="false" length="80" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_Description" property="Description" behavior="readwrite" uniqueId="4bd6159d-4efc-4426-bb4c-2e4bbedb6508" type="System.String">
              <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_PaymentTerms" property="PaymentTerms" behavior="readwrite" uniqueId="c4e6df01-1677-4999-abbd-7bf4a04cd736" type="ALNDataLayer.Enums.Pay_Terms">
              <orm:column name="PaymentTerms" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_StartDate" property="StartDate" behavior="readwrite" uniqueId="c197a534-ce9a-4d98-b0c4-d44ad31c4fde" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="StartDate" sql-type="date" nullable="true" length="0" scale="0" ado-type="Date" />
            </orm:field>
            <orm:field name="_EndDate" property="EndDate" behavior="readwrite" uniqueId="d76ab3ad-fb6d-4d14-85de-47c93cf2c732" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="EndDate" sql-type="date" nullable="true" length="0" scale="0" ado-type="Date" />
            </orm:field>
            <orm:field name="_IsActive" property="IsActive" behavior="readwrite" uniqueId="dd90e80f-c0d0-4ca8-a833-589cd6bcbaa5" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="IsActive" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_CampaignVertical" property="CampaignVertical" behavior="readwrite" uniqueId="dc0f8666-338c-4be6-a67c-67b7fc80a35a" type="ALNDataLayer.Enums.Campaign_Vertical">
              <orm:column name="CampaignType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_Payout" property="Payout" behavior="readwrite" uniqueId="33d5cf29-fcc9-4d28-bfa5-dbd23f589b66" type="System.Nullable`1[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="payout" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_Pubpayout" property="Pubpayout" behavior="readwrite" uniqueId="f733f128-619d-4b2e-bade-83e466d1a92a" type="System.Nullable`1[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="pubpayout" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_PayoutAction" property="PayoutAction" behavior="readwrite" uniqueId="b5de8cda-f36d-4ac3-a5f6-3a79bb17c8e4" type="ALNDataLayer.Enums.Payout_Action">
              <orm:column name="payoutaction" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_ManagerUserID" property="ManagerUserID" behavior="readwrite" inheritance-modifier="final" uniqueId="cfcd1bed-9c14-46d7-af30-ffb7bafb643f" type="System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_IsExclusive" property="IsExclusive" behavior="readwrite" uniqueId="83809171-226a-44f8-aea0-cd95d9c57813" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="IsExclusive" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_Aspnet_User" property="CampaignManager" behavior="readwrite" uniqueId="bd87e3ef-d3db-4db4-8a01-607de89671eb" type="ALNDataLayer.Aspnet_User">
              <orm:reference uniqueId="8b3e47e0-a280-4fb6-9e4d-5f55930f0021">
                <orm:sharedfield name="_ManagerUserID" target-class="ALNDataLayer.Aspnet_User" target-field="_UserID" />
              </orm:reference>
            </orm:field>
            <orm:field name="_CampaignRestrictions" property="CampaignRestrictions" behavior="readwrite" uniqueId="1fa0bb61-ac28-44ac-a78d-872089d8f8e2" type="ALNDataLayer.CampaignRestriction" dependent="true">
              <orm:collection element-class="ALNDataLayer.CampaignRestriction" managed="true" order-by="" uniqueId="5c34dc8d-c6d5-4ead-b47d-81340ee8ff8f">
                <orm:sharedfield name="_CampaignID" target-class="ALNDataLayer.Campaign" target-field="_CampaignID" />
              </orm:collection>
            </orm:field>
            <orm:field name="_Creatives" property="Creatives" behavior="readwrite" uniqueId="9217cf5c-b3b6-4a4f-8703-b9ada0cbd07c" type="ALNDataLayer.Creative" dependent="true">
              <orm:collection element-class="ALNDataLayer.Creative" order-by="" uniqueId="866e2f5b-92cc-4d28-a401-073730ff9bb8">
                <orm:sharedfield name="_CampaignID" target-class="ALNDataLayer.Campaign" target-field="_CampaignID" />
              </orm:collection>
            </orm:field>
            <orm:field name="_CampaignUsers" property="CampaignUsers" behavior="readwrite" uniqueId="424c6c4f-e4f5-40c8-81ac-38ac208b56ce" type="ALNDataLayer.CampaignUsers">
              <orm:collection element-class="ALNDataLayer.CampaignUsers" order-by="" uniqueId="5cc9faa7-d1d8-4b05-a80c-8208c09e395f">
                <orm:sharedfield name="_CampaignID" target-class="ALNDataLayer.Campaign" target-field="_CampaignID" />
              </orm:collection>
            </orm:field>
            <orm:field name="_AllowedTraffic" property="AllowedTraffic" behavior="readwrite" uniqueId="53339924-69a4-4a7d-8060-29af23c41913" type="ALNDataLayer.CampaignTraffic" dependent="true">
              <orm:collection element-class="ALNDataLayer.CampaignTraffic" managed="true" order-by="" uniqueId="ae1b053a-900b-40b5-a0f3-c1f907601d4e">
                <orm:sharedfield name="_CampaignID" target-class="ALNDataLayer.Campaign" target-field="_CampaignID" />
              </orm:collection>
            </orm:field>
            <orm:field name="_Supressions" property="SupressionList" behavior="readwrite" uniqueId="c456ee2c-65b8-42ee-aefc-f37b2399ef56" type="ALNDataLayer.Supression" dependent="true">
              <orm:collection element-class="ALNDataLayer.Supression" managed="true" order-by="" uniqueId="c9ac46f0-8888-4e8c-8c74-3836fa932b40">
                <orm:sharedfield name="_CampaignID" target-class="ALNDataLayer.Campaign" target-field="_CampaignID" />
              </orm:collection>
            </orm:field>
          </orm:class>
          <orm:class name="BankingInfo" inheritance-modifier="final" behavior="readwrite" uniqueId="9aa331eb-d6ff-4097-ba47-d2ae9edad113">
            <orm:table name="ALNBankingInfo" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_BankingInfoID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_BankingInfoID" property="BankingInfoID" behavior="readwrite" inheritance-modifier="final" uniqueId="93ee1291-8172-425c-84aa-7d8af2301bb6" type="System.Int32">
              <orm:column name="BankingInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_BankName" property="BankName" behavior="readwrite" inheritance-modifier="final" uniqueId="7c78e0ab-5a02-4479-8da3-d5cd7e0c6394" type="System.String">
              <orm:column name="BankName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_AddressInfoID" property="AddressInfoID" behavior="readwrite" inheritance-modifier="final" uniqueId="d47b2f19-0f7b-40bc-9c2c-ef8998203f3f" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_BankPhone" property="BankPhone" behavior="readwrite" inheritance-modifier="final" uniqueId="eacc25c6-5a43-4923-bdcd-19c8e750149e" type="System.String">
              <orm:column name="BankPhone" sql-type="varchar" nullable="true" length="15" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_BankAccount" property="BankAccount" behavior="readwrite" inheritance-modifier="final" uniqueId="20a5a81b-7647-48e2-9833-229be8a31bd9" type="System.String">
              <orm:column name="BankAcccount" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_BankABA" property="BankABA" behavior="readwrite" inheritance-modifier="final" uniqueId="1dd119cc-693e-4e54-be3b-3bae3edca8aa" type="System.String">
              <orm:column name="BankABA" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_BankAccountType" property="BankAccountType" behavior="readwrite" inheritance-modifier="final" uniqueId="e4110503-ec92-4f3e-ba44-75e85cc1ea2d" type="ALNDataLayer.Enums.Account_Type">
              <orm:column name="AccountType" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_MonthsAtBank" property="MonthsAtBank" behavior="readwrite" inheritance-modifier="final" uniqueId="c2b20308-cb58-4a70-808d-93d4319ce1f1" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="MonthsAtBank" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_BankAddress" property="BankAddress" behavior="readwrite" inheritance-modifier="final" uniqueId="342b3979-56bb-48f6-8088-fdab12e34dae" type="ALNDataLayer.AddressInfo">
              <orm:reference uniqueId="3d25b3d0-9a04-4d8c-bcc7-e3464c0131d9">
                <orm:sharedfield name="_AddressInfoID" target-class="ALNDataLayer.AddressInfo" target-field="_AddressInfoID" />
                <orm:constraint name="FK__ALNBankin__Addre__1C1D2798" destination-table="ALNAddressInfo" />
              </orm:reference>
            </orm:field>
          </orm:class>
          <orm:class name="AgreementStatus" behavior="readwrite" uniqueId="ce19e4c3-30d9-4e42-8786-3c80f66e64e8">
            <orm:table name="ALNAgreements" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_AgreementID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_AgreementID" property="AgreementID" behavior="readwrite" uniqueId="94644c27-f212-4b76-8102-ce47de5e6172" type="System.Int32">
              <orm:column name="AgreementID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_UserID" property="UserID" behavior="readwrite" uniqueId="e118b706-7dc7-40de-ac85-cf47f28d71de" type="System.Guid">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_DocumentType" property="DocumentType" behavior="readwrite" uniqueId="35c2d68d-ac1f-4ef9-beed-0de02022c080" type="ALNDataLayer.Enums.Doc_Type">
              <orm:column name="DocumentType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_SigningStatus" property="SigningStatus" behavior="readwrite" uniqueId="c452aa56-64de-4b65-860e-60b35e0651b3" type="ALNDataLayer.Enums.Signing_Status">
              <orm:column name="SigningStatus" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_DocumentURL" property="DocumentURL" behavior="readwrite" uniqueId="ef0e1718-7a5f-429e-bea2-17f8c493f85c" type="System.String">
              <orm:column name="DocumentURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
          </orm:class>
          <orm:class name="AddressInfo" behavior="readwrite" uniqueId="bacadaf2-403a-46f1-beb4-9ff3b045a9db">
            <orm:table name="ALNAddressInfo" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_AddressInfoID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_AddressInfoID" property="AddressInfoID" behavior="readwrite" uniqueId="3ef5151f-f34d-4ead-911e-a7ad3354f6d0" type="System.Int32">
              <orm:column name="AddressInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Address1" property="Address1" behavior="readwrite" uniqueId="02b32564-62df-400a-af63-065e1580eb12" type="System.String">
              <orm:column name="Address1" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_Address2" property="Address2" behavior="readwrite" uniqueId="cb6e78b9-07e7-4336-b297-cc49447eeb18" type="System.String">
              <orm:column name="Address2" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_Country" property="Country" behavior="readwrite" uniqueId="0551ec56-724b-416a-bb1c-76948d5682b0" type="System.String">
              <orm:column name="Country" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_City" property="City" behavior="readwrite" uniqueId="f14608b8-2057-4472-8afe-45381b18c8ad" type="System.String">
              <orm:column name="City" sql-type="varchar" nullable="true" length="30" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_State" property="State" behavior="readwrite" uniqueId="be083b50-7f2b-446a-a977-f1455873168a" type="System.String">
              <orm:column name="State" sql-type="varchar" nullable="true" length="2" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_Zip" property="Zip" behavior="readwrite" uniqueId="7feac373-ea36-497c-965c-5d77106c39db" type="System.String">
              <orm:column name="Zip" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_MonthsAtAddress" property="MonthsAtAddress" behavior="readwrite" uniqueId="76326492-1de3-4a7e-a4c1-194c60ca1752" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="MonthsAtAddress" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_OwnHome" property="OwnHome" behavior="readwrite" uniqueId="ebe59d1d-22e9-4a7b-a621-205d31e5b3ee" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="OwnHome" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_Phone" property="Phone" behavior="readwrite" uniqueId="4954040f-ea6e-4bce-aae5-00141fab041e" type="System.String">
              <orm:column name="Phone" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_BestCallTime" property="BestCallTime" behavior="readwrite" uniqueId="91ad8419-235e-4e87-b7b0-9091ccb9938d" type="ALNDataLayer.Enums.Call_Time">
              <orm:column name="BestCallTime" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
          </orm:class>
          <orm:class name="ALNUserInfo" inheritance-modifier="abstract" behavior="readwrite" uniqueId="99033e88-3c9b-4fc7-af8e-b896b143b904" persistent-baseclass="ALNDataLayer.Aspnet_Membership" inheritance="new-table">
            <orm:table name="ALNUserInfo" />
            <orm:identity>
              <orm:internal>
                <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
              </orm:internal>
            </orm:identity>
            <orm:discriminator discriminator-value="ALNDataLayer.ALNUserInfo" />
            <orm:field name="_FirstName" property="FirstName" behavior="readwrite" uniqueId="f2ef10eb-afb7-4ef5-bda9-72dad321bf3f" type="System.String">
              <orm:column name="FirstName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_LastName" property="LastName" behavior="readwrite" uniqueId="ad1f45fc-f10e-4ab0-b970-d63a91e34230" type="System.String">
              <orm:column name="LastName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_Skype" property="Skype" behavior="readwrite" uniqueId="76b2425d-c111-4bd2-96c5-1034349be58c" type="System.String">
              <orm:column name="Skype" sql-type="varchar" nullable="true" length="30" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_AddressInfoID" property="AddressInfoID" behavior="readwrite" uniqueId="b668fd66-9361-4608-a31b-d9d8770cf60a" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_BankingInfoID" property="BankingInfoID" behavior="readwrite" uniqueId="05ceaac4-e7b2-4507-a4ce-62c495866f41" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="BankingInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_UserType" property="UserType" behavior="readwrite" uniqueId="6444c1aa-7631-4f7d-9189-382e998305e0" type="ALNDataLayer.Enums.User_Type">
              <orm:column name="UserType" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_VendorID" property="VendorID" behavior="readonly" uniqueId="69eb03db-fa07-4849-b88f-e895d76e1259" type="System.Int32">
              <orm:column name="VendorID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_ManagerUserID" property="ManagerUserID" behavior="readwrite" uniqueId="a44fae12-5820-46e0-a261-4b025f754444" type="System.Guid">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_Address" property="Address" behavior="readwrite" uniqueId="3cab3e09-cb81-4312-a4a9-f0680180e41c" type="ALNDataLayer.AddressInfo" dependent="true">
              <orm:reference uniqueId="c9af9dfc-6b66-4d7a-b620-9e03a227e920">
                <orm:sharedfield name="_AddressInfoID" target-class="ALNDataLayer.AddressInfo" target-field="_AddressInfoID" />
                <orm:constraint name="FK__ALNUserIn__Addre__5C02A283" destination-table="ALNAddressInfo" />
              </orm:reference>
            </orm:field>
            <orm:field name="_Banking" property="Banking" behavior="readwrite" uniqueId="284fea2a-937d-4791-addb-90dee14a31a0" type="ALNDataLayer.BankingInfo" dependent="true">
              <orm:reference uniqueId="6f79c6f6-807f-49b6-b351-0ba83c90c81e">
                <orm:sharedfield name="_BankingInfoID" target-class="ALNDataLayer.BankingInfo" target-field="_BankingInfoID" />
                <orm:constraint name="FK__ALNUserIn__Banki__5A1A5A11" destination-table="ALNBankingInfo" />
              </orm:reference>
            </orm:field>
            <orm:field name="_ALNManager" property="AffiliateManager" behavior="readwrite" uniqueId="eb11595f-ceee-4824-80ed-00c5ecd10207" type="ALNDataLayer.ALNManager">
              <orm:reference uniqueId="5900f29b-00d9-4fed-be65-f35851deeb62">
                <orm:sharedfield name="_ManagerUserID" />
              </orm:reference>
            </orm:field>
            <orm:index name="idx_ALNUserInfo_ManagerUserID">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:index>
          </orm:class>
          <orm:class name="Aspnet_User" inheritance-modifier="abstract" behavior="readwrite" uniqueId="567f80be-b0f8-4977-8bbd-6ac092548d4c">
            <orm:table name="aspnet_Users" />
            <orm:identity>
              <orm:key-generator name="guid" />
              <orm:single-field field-name="_UserID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:discriminator discriminator-value="{no}" />
            <orm:field name="_UserName" property="UserName" behavior="readwrite" uniqueId="407ad7c3-8d48-4548-a031-20f23250a277" type="System.String">
              <orm:column name="UserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_UserID" property="UserID" behavior="readwrite" uniqueId="bcef06eb-84cd-4eba-966c-96b42f87beec" type="System.Guid">
              <orm:column name="UserId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            </orm:field>
            <orm:field name="_MobileAlias" property="MobileAlias" behavior="readwrite" uniqueId="a70a417b-178c-437f-8fbb-a6f75dc51ff9" type="System.String">
              <orm:column name="MobileAlias" sql-type="nvarchar" nullable="true" length="16" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_LoweredUserName" property="LoweredUserName" behavior="readwrite" uniqueId="93eddba5-18cd-46b5-b8e5-2d767272664a" type="System.String">
              <orm:column name="LoweredUserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_LastActivityDate" property="LastActivityDate" behavior="readwrite" uniqueId="fcb4cb0f-fb54-4c45-84ff-ba6899f3ccf8" type="System.DateTime">
              <orm:column name="LastActivityDate" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_IsAnonymous" property="IsAnonymous" behavior="readwrite" uniqueId="705430df-18ae-49a6-ab77-9671d4851c15" type="System.Boolean">
              <orm:column name="IsAnonymous" sql-type="bit" nullable="false" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_ApplicationId" property="ApplicationId" behavior="readwrite" uniqueId="de80c1eb-edd3-4d20-bb48-abe883a23de7" type="System.Guid">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_Notifications" property="Notifications" behavior="readwrite" uniqueId="aac5d157-1832-4f5c-bcc1-9082cb94644b" type="ALNDataLayer.ALNNotification">
              <orm:collection element-class="ALNDataLayer.ALNNotification" inverse-field="_Recipient" order-by="" uniqueId="092687c5-91cf-4462-a37e-4c5180b571f8" />
            </orm:field>
            <orm:field name="_Agreements" property="Agreements" behavior="readwrite" uniqueId="c5f46292-e9b0-4dbf-a3c3-47baba5199ae" type="ALNDataLayer.AgreementStatus" default-fetch-group="true" dependent="true">
              <orm:collection element-class="ALNDataLayer.AgreementStatus" managed="true" order-by="" uniqueId="017760a3-dfeb-45c7-ad53-4aa51f1cfa44">
                <orm:sharedfield name="_UserID" target-class="ALNDataLayer.Aspnet_User" target-field="_UserID" />
              </orm:collection>
            </orm:field>
            <orm:field name="_Campaigns" property="Campaigns" behavior="readwrite" uniqueId="ed293167-353b-4b13-8ac3-df3b852ad14b" type="ALNDataLayer.Campaign">
              <orm:collection element-class="ALNDataLayer.Campaign" inverse-field="_Aspnet_User" managed="true" order-by="" uniqueId="8b3e47e0-a280-4fb6-9e4d-5f55930f0021" />
            </orm:field>
            <orm:field name="_PostbackFields" property="PostbackFields" behavior="readwrite" uniqueId="cc2258ca-eb22-41c0-9e24-bdb059390133" type="ALNDataLayer.PostbackFields">
              <orm:collection element-class="ALNDataLayer.PostbackFields" order-by="" uniqueId="19dae0f5-a8a4-459a-9d43-4648db730f81">
                <orm:sharedfield name="_NetworkID" target-class="ALNDataLayer.Aspnet_User" target-field="_UserID" />
              </orm:collection>
            </orm:field>
            <orm:index name="aspnet_Users_Index2">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LastActivityDate" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
            </orm:index>
            <orm:index name="aspnet_Users_Index" clustered="true" unique="true">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LoweredUserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            </orm:index>
          </orm:class>
          <orm:class name="Aspnet_Membership" inheritance-modifier="abstract" behavior="readwrite" uniqueId="b28f1fca-65e9-4337-ab8a-c7c5a59b460e" persistent-baseclass="ALNDataLayer.Aspnet_User" inheritance="new-table">
            <orm:table name="aspnet_Membership" />
            <orm:identity>
              <orm:internal>
                <orm:column name="UserId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
              </orm:internal>
            </orm:identity>
            <orm:discriminator discriminator-value="ALNDataLayer.Aspnet_Membership" />
            <orm:field name="_PasswordSalt" property="PasswordSalt" behavior="readwrite" uniqueId="8b4815e1-fc6a-4bde-a8ee-93896caafd35" type="System.String">
              <orm:column name="PasswordSalt" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_PasswordQuestion" property="PasswordQuestion" behavior="readwrite" uniqueId="0b536ff8-420a-4f1d-9419-647da8bcbdec" type="System.String">
              <orm:column name="PasswordQuestion" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_PasswordFormat" property="PasswordFormat" behavior="readwrite" uniqueId="e24bdc18-0e79-4a31-9165-1d8f2d7949aa" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="PasswordFormat" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_PasswordAnswer" property="PasswordAnswer" behavior="readwrite" uniqueId="c63e4284-e3dc-488f-b8ad-8a9dc2229f4e" type="System.String">
              <orm:column name="PasswordAnswer" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_Password" property="Password" behavior="readwrite" uniqueId="63cd8f5f-2179-4e0b-98c9-be242d73189d" type="System.String">
              <orm:column name="Password" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_MobilePIN" property="MobilePIN" behavior="readwrite" uniqueId="9d966573-5529-4c53-a651-2c856a0113ed" type="System.String">
              <orm:column name="MobilePIN" sql-type="nvarchar" nullable="true" length="16" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_LoweredEmail" property="LoweredEmail" behavior="readwrite" uniqueId="2d2e1ef7-5882-4bc4-bfc5-61c692b8c546" type="System.String">
              <orm:column name="LoweredEmail" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_LastPasswordChangedDate" property="LastPasswordChangedDate" behavior="readwrite" uniqueId="51c2d999-a91c-41b9-aba2-0d68d1f73013" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="LastPasswordChangedDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_LastLoginDate" property="LastLoginDate" behavior="readwrite" uniqueId="357b185a-caf4-4f74-b679-d88866856afa" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="LastLoginDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_LastLockoutDate" property="LastLockoutDate" behavior="readwrite" uniqueId="17ffad9b-6586-4b8b-828d-88001da0cb18" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="LastLockoutDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_IsLockedOut" property="IsLockedOut" behavior="readwrite" uniqueId="3988dab6-56ea-4b1a-b4ee-dab9db9fed37" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="IsLockedOut" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_IsApproved" property="IsApproved" behavior="readwrite" uniqueId="035bbc76-f0fb-4496-9609-0b8fb2f4562b" type="System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="IsApproved" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            </orm:field>
            <orm:field name="_FailedPasswordAttemptWindowStart" property="FailedPasswordAttemptWindowStart" behavior="readwrite" uniqueId="622a2140-950b-4c0c-b7ed-d6a1f97c3e79" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="FailedPasswordAttemptWindowStart" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_FailedPasswordAttemptCount" property="FailedPasswordAttemptCount" behavior="readwrite" uniqueId="57507675-93f2-4f47-9061-6d115ae4411e" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="FailedPasswordAttemptCount" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_FailedPasswordAnswerAttemptWindowStart" property="FailedPasswordAnswerAttemptWindowStart" behavior="readwrite" uniqueId="6e29ea01-a09e-4d9c-b4b4-12d45a5fd475" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="FailedPasswordAnswerAttemptWindowStart" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_FailedPasswordAnswerAttemptCount" property="FailedPasswordAnswerAttemptCount" behavior="readwrite" uniqueId="19348249-f96b-4f12-885e-d5956aed2468" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="FailedPasswordAnswerAttemptCount" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Email" property="Email" behavior="readwrite" uniqueId="78b8651f-01c9-41bf-b12e-dbf93723a575" type="System.String">
              <orm:column name="Email" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_CreateDate" property="CreateDate" behavior="readwrite" uniqueId="44de17e5-c665-4f82-ba12-311624771020" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="CreateDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_Comment" property="Comment" behavior="readwrite" uniqueId="668dfafc-eff1-46cf-b14b-fa7f63a3f8c2" type="System.String">
              <orm:column name="Comment" sql-type="ntext" nullable="true" length="0" scale="0" ado-type="Clob" />
            </orm:field>
            <orm:field name="_ApplicationId" property="ApplicationId" behavior="readwrite" uniqueId="72b74fdc-0267-477d-942a-11cbb7bb779a" type="System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:index name="aspnet_Membership_index" clustered="true">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LoweredEmail" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            </orm:index>
          </orm:class>
          <orm:class name="ALNManager" inheritance-modifier="final" behavior="readwrite" uniqueId="fdee8775-59c2-40a1-bb57-0d626cb9022d" persistent-baseclass="ALNDataLayer.ALNUserInfo" inheritance="new-table">
            <orm:table name="ALNManagerInfo" />
            <orm:identity>
              <orm:internal>
                <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
              </orm:internal>
            </orm:identity>
            <orm:discriminator discriminator-value="ALNDataLayer.ALNManager" />
            <orm:field name="_Commission" property="Commission" behavior="readwrite" inheritance-modifier="final" uniqueId="8cc062a6-1f37-4387-a40c-20169aac7b1c" type="System.Nullable`1[[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="Commission" sql-type="decimal" nullable="true" length="18" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_PhotoURL" property="PhotoURL" behavior="readwrite" inheritance-modifier="final" uniqueId="5a513b8e-ec22-4507-9005-ae972c012ab2" type="System.String">
              <orm:column name="PhotoURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_ALNUserInfos" property="ManagedUsers" behavior="readwrite" inheritance-modifier="final" uniqueId="1e5a301e-421a-4b9e-98c2-b69d2c347a40" type="ALNDataLayer.ALNUserInfo">
              <orm:collection element-class="ALNDataLayer.ALNUserInfo" inverse-field="_ALNManager" managed="true" order-by="" uniqueId="5900f29b-00d9-4fed-be65-f35851deeb62" />
            </orm:field>
          </orm:class>
          <orm:class name="ALNPublisher" inheritance-modifier="final" behavior="readwrite" uniqueId="c1364828-37e1-41dc-8367-b174a0893799" persistent-baseclass="ALNDataLayer.ALNUserInfo" inheritance="new-table">
            <orm:table name="ALNPublisherInfo" />
            <orm:identity />
            <orm:discriminator discriminator-value="ALNDataLayer.ALNPublisher" />
            <orm:field name="_CompanyInfoID" property="CompanyInfoID" behavior="readwrite" inheritance-modifier="final" uniqueId="4bffafda-4bc3-43e0-bd22-f5349bea5637" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="CompanyInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_RevShare" property="RevShare" behavior="readwrite" inheritance-modifier="final" uniqueId="59c012f3-b74c-483d-b919-b31cdb509501" type="System.Nullable`1[[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="RevShare" sql-type="decimal" nullable="true" length="18" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_Traffic" property="Traffic" behavior="readwrite" inheritance-modifier="final" uniqueId="4d5e9d5a-91d0-470f-9832-b18e37a214b2" type="System.String">
              <orm:column name="Traffic" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_WebSite" property="WebSite" behavior="readwrite" inheritance-modifier="final" uniqueId="99ce4413-a206-4f75-9189-dea6b2b769f7" type="System.String">
              <orm:column name="WebSite" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_Company" property="Company" behavior="readwrite" inheritance-modifier="final" uniqueId="c34069ec-09ce-4303-bd19-6790f710aed1" type="ALNDataLayer.CompanyInfo">
              <orm:reference uniqueId="4e4262ae-882e-4253-aeae-0c3823b5e1d2">
                <orm:sharedfield name="_CompanyInfoID" target-class="ALNDataLayer.CompanyInfo" target-field="_CompanyInfoID" />
              </orm:reference>
            </orm:field>
          </orm:class>
          <orm:class name="ALNNotification" behavior="readwrite" uniqueId="aac27741-7004-437d-b3dc-5d44577924d2">
            <orm:table name="ALNNotifications" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_ID" />
            </orm:identity>
            <orm:concurrency strategy="changed" />
            <orm:field name="_ID" property="ID" behavior="readwrite" uniqueId="a3c080f5-a5e9-439c-8e1c-db022017dbda" type="System.Int32">
              <orm:column name="ID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_Message" property="Message" behavior="readwrite" uniqueId="46761ba2-f6e2-4744-9791-c4f3aadfe33f" type="System.String">
              <orm:column name="message" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_UserID" property="UserID" behavior="readwrite" uniqueId="0ec16856-431a-4894-b717-35deec9ac1e4" type="System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="recipient" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_EntryDate" property="EntryDate" behavior="readwrite" uniqueId="6bab417a-e44a-4e3a-bc9b-70c29ba6a465" type="System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
              <orm:column name="EntryDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            </orm:field>
            <orm:field name="_Recipient" property="Recipient" behavior="readwrite" uniqueId="0c8507b6-e69d-44b4-9847-26659515e175" type="ALNDataLayer.Aspnet_User">
              <orm:reference uniqueId="092687c5-91cf-4462-a37e-4c5180b571f8">
                <orm:sharedfield name="_UserID" target-class="ALNDataLayer.Aspnet_User" target-field="_UserID" />
              </orm:reference>
            </orm:field>
          </orm:class>
          <orm:class name="ALNNetwork" inheritance-modifier="final" behavior="readwrite" uniqueId="d86f81a3-00bc-4639-b9f6-b26eff078d55" persistent-baseclass="ALNDataLayer.ALNUserInfo" inheritance="new-table">
            <orm:table name="ALNNetworkInfo" />
            <orm:identity>
              <orm:internal>
                <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
              </orm:internal>
            </orm:identity>
            <orm:discriminator discriminator-value="ALNDataLayer.ALNNetwork" />
            <orm:field name="_CompanyInfoID" property="CompanyInfoID" behavior="readwrite" inheritance-modifier="final" uniqueId="89206f05-3100-4823-b3db-85cc74e1379d" type="System.Int32">
              <orm:column name="CompanyInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:field name="_NetworkType" property="NetworkType" behavior="readwrite" inheritance-modifier="final" uniqueId="23f4ffef-6fb1-4416-84c4-b47ef41697ea" type="System.Byte">
              <orm:column name="NetworkType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            </orm:field>
            <orm:field name="_PrepayAmount" property="PrepayAmount" behavior="readwrite" inheritance-modifier="final" uniqueId="4e9b3cce-b949-4c13-843c-da4d8242f0ca" type="System.Decimal">
              <orm:column name="PrepayAmount" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_CpaPrice" property="CpaPrice" behavior="readwrite" inheritance-modifier="final" uniqueId="c1cf88d5-cbde-4e8b-a43b-cf7ca523a651" type="System.Decimal">
              <orm:column name="CpaPrice" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            </orm:field>
            <orm:field name="_PixelURL" property="PixelURL" behavior="readwrite" inheritance-modifier="final" uniqueId="70450bce-8eed-494c-85db-44e868995c0b" type="System.String">
              <orm:column name="PixelURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            </orm:field>
            <orm:field name="_Company" property="Company" behavior="readwrite" inheritance-modifier="final" uniqueId="fd13e100-f629-4d41-9c40-db6ff7ee8e70" type="ALNDataLayer.CompanyInfo">
              <orm:reference uniqueId="152afabd-82b0-4651-9a0e-b61d84d9dad7">
                <orm:sharedfield name="_CompanyInfoID" target-class="ALNDataLayer.CompanyInfo" target-field="_CompanyInfoID" />
              </orm:reference>
            </orm:field>
          </orm:class>
          <orm:class name="PostbackFields" behavior="readwrite" uniqueId="8f1a9e0c-5fce-492f-b465-58b99883eb0b">
            <orm:table name="PostbackPixel" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_PixelID" />
            </orm:identity>
            <orm:discriminator discriminator-value="ALNDataLayer.PostbackFields" />
            <orm:field name="_PixelID" property="PixelID" behavior="readwrite" uniqueId="1fa53544-1271-4387-8d40-7239c9ba6cd5" type="System.Int32">
              <orm:column name="PixelID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_FieldName" property="FieldName" behavior="readwrite" uniqueId="851299c4-9c71-4db9-924a-83e6f70512a2" type="System.String">
              <orm:column name="FieldName" sql-type="varchar" nullable="true" length="255" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_FieldValue" property="FieldValue" behavior="readwrite" uniqueId="039badeb-c43a-4586-9aeb-900e91a9f7f6" type="System.String">
              <orm:column name="FieldValue" sql-type="varchar" nullable="true" length="255" scale="0" ado-type="Varchar" />
            </orm:field>
            <orm:field name="_NetworkID" property="NetworkID" behavior="readwrite" uniqueId="cf823193-de3b-4935-8c72-1086298f8abe" type="System.Guid">
              <orm:column name="NetworkID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:field>
          </orm:class>
          <orm:class name="CampaignUsers" behavior="readwrite" uniqueId="489d6429-0362-4e04-ae0a-779fdb9846e2">
            <orm:table name="CampaignUsers" />
            <orm:identity>
              <orm:key-generator name="autoinc" />
              <orm:single-field field-name="_EntryID" />
            </orm:identity>
            <orm:discriminator discriminator-value="{no}" />
            <orm:field name="_EntryID" property="EntryID" behavior="readwrite" uniqueId="109c6496-2f6d-4cbd-a81f-8c045cd8a9f0" type="System.Int32">
              <orm:column name="EntryID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            </orm:field>
            <orm:field name="_UserID" property="UserID" behavior="readwrite" uniqueId="50077568-f845-46f6-acbd-730f0ab08e09" type="System.Guid">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:field>
            <orm:field name="_CampaignID" property="CampaignID" behavior="readwrite" uniqueId="be6271c1-2cdf-4339-9e25-d21496c0ef6c" type="System.Int32">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:field>
            <orm:index name="idx_CampaignUsers_CampaignID">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:index>
          </orm:class>
        </orm:namespace>
        <orm:schema schema="">
          <orm:table name="Supression">
            <orm:column name="ID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="E-mail" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="Telephone" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:constraint name="FK__Supressio__Campa__21D600EE" destination-table="ALNCampaignInfo">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="CampaignUsers">
            <orm:column name="EntryID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:index name="idx_CampaignUsers_CampaignID">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:index>
            <orm:constraint name="ref_CmpgnUsers_ALNCampaignInfo" destination-table="ALNCampaignInfo">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
            <orm:constraint name="ref_CampaignUsers_aspnet_Users" destination-table="aspnet_Users">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNUserInfo">
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            <orm:column name="FirstName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="LastName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="Skype" sql-type="varchar" nullable="true" length="30" scale="0" ado-type="Varchar" />
            <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="BankingInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="UserType" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="VendorID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            <orm:index name="idx_ALNUserInfo_ManagerUserID">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:index>
            <orm:constraint name="FK__ALNUserIn__Banki__5A1A5A11" destination-table="ALNBankingInfo">
              <orm:column name="BankingInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
            <orm:constraint name="FK__ALNUserIn__Addre__5C02A283" destination-table="ALNAddressInfo">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
            <orm:constraint name="FK_ALNUserInfo_ALNManager" destination-table="ALNManagerInfo">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNPublisherInfo">
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:column name="CompanyInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="RevShare" sql-type="decimal" nullable="true" length="18" scale="0" ado-type="Decimal" />
            <orm:column name="Traffic" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="WebSite" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:constraint name="FK_ALNPublisherInfo_CompanyInfo" destination-table="ALNCompanyInfo">
              <orm:column name="CompanyInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
            <orm:constraint name="FK_ALNPublisherInfo_0" destination-table="aspnet_Users">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNNotifications">
            <orm:column name="ID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="message" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="recipient" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:column name="EntryDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
          </orm:table>
          <orm:table name="ALNManagerInfo">
            <orm:column name="Commission" sql-type="decimal" nullable="true" length="18" scale="0" ado-type="Decimal" />
            <orm:column name="PhotoURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            <orm:constraint name="FK_ALNManagerInfo_Aspnet_user" destination-table="aspnet_Users">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNCreatives">
            <orm:column name="CreativeID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:column name="Name" sql-type="varchar" nullable="false" length="100" scale="0" ado-type="Varchar" />
            <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="CreativeType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            <orm:column name="CreativeLink" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            <orm:constraint name="FK_ALNCreatives_Campaign" destination-table="ALNCampaignInfo">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNCompanyInfo">
            <orm:column name="CompanyInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="CompanyName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="CompanyType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            <orm:column name="EIN" sql-type="varchar" nullable="true" length="12" scale="0" ado-type="Varchar" />
            <orm:constraint name="FK__ALNCompan__Addre__1E05700A" destination-table="ALNAddressInfo">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNCampaignTraffic">
            <orm:column name="EntryID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:column name="TrafficType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            <orm:column name="Allowed" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:constraint name="FK_ALNCampaignTraffic_ALNCampaign" destination-table="ALNCampaignInfo">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNCampaignRestrictions">
            <orm:column name="RestrictionID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            <orm:column name="Description" sql-type="varchar(max)" nullable="false" length="0" scale="0" ado-type="LongVarchar" />
            <orm:constraint name="FK_ALNCampaignRestrictions_0" destination-table="ALNCampaignInfo">
              <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNCampaignInfo">
            <orm:column name="CampaignID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="Name" sql-type="varchar" nullable="false" length="80" scale="0" ado-type="Varchar" />
            <orm:column name="Description" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="PaymentTerms" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            <orm:column name="StartDate" sql-type="date" nullable="true" length="0" scale="0" ado-type="Date" />
            <orm:column name="EndDate" sql-type="date" nullable="true" length="0" scale="0" ado-type="Date" />
            <orm:column name="IsActive" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="CampaignType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            <orm:column name="payout" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            <orm:column name="pubpayout" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            <orm:column name="payoutaction" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            <orm:column name="IsExclusive" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:constraint name="ref_ALNCmpignInfo_aspnet_Users" destination-table="aspnet_Users">
              <orm:column name="ManagerUserID" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNBankingInfo">
            <orm:column name="BankingInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="BankName" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="BankPhone" sql-type="varchar" nullable="true" length="15" scale="0" ado-type="Varchar" />
            <orm:column name="BankAcccount" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="BankABA" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            <orm:column name="AccountType" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="MonthsAtBank" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:constraint name="FK__ALNBankin__Addre__1C1D2798" destination-table="ALNAddressInfo">
              <orm:column name="AddressInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNAgreements">
            <orm:column name="AgreementID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:column name="DocumentType" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            <orm:column name="SigningStatus" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
            <orm:column name="DocumentURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:constraint name="FK__ALNAgreem__UserI__4EA8A765" destination-table="aspnet_Users">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNAddressInfo">
            <orm:column name="AddressInfoID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="Address1" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="Address2" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="Country" sql-type="varchar" nullable="true" length="50" scale="0" ado-type="Varchar" />
            <orm:column name="City" sql-type="varchar" nullable="true" length="30" scale="0" ado-type="Varchar" />
            <orm:column name="State" sql-type="varchar" nullable="true" length="2" scale="0" ado-type="Varchar" />
            <orm:column name="Zip" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            <orm:column name="MonthsAtAddress" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="OwnHome" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="Phone" sql-type="varchar" nullable="true" length="10" scale="0" ado-type="Varchar" />
            <orm:column name="BestCallTime" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
          </orm:table>
          <orm:table name="aspnet_Users">
            <orm:column name="UserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            <orm:column name="UserId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            <orm:column name="MobileAlias" sql-type="nvarchar" nullable="true" length="16" scale="0" ado-type="Varchar" />
            <orm:column name="LoweredUserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            <orm:column name="LastActivityDate" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="IsAnonymous" sql-type="bit" nullable="false" length="0" scale="0" ado-type="Bit" />
            <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:index name="aspnet_Users_Index2">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LastActivityDate" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
            </orm:index>
            <orm:index name="aspnet_Users_Index" clustered="true" unique="true">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LoweredUserName" sql-type="nvarchar" nullable="false" length="256" scale="0" ado-type="Varchar" />
            </orm:index>
          </orm:table>
          <orm:table name="aspnet_Membership">
            <orm:column name="UserId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            <orm:column name="PasswordSalt" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            <orm:column name="PasswordQuestion" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            <orm:column name="PasswordFormat" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="PasswordAnswer" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            <orm:column name="Password" sql-type="nvarchar" nullable="true" length="128" scale="0" ado-type="Varchar" />
            <orm:column name="MobilePIN" sql-type="nvarchar" nullable="true" length="16" scale="0" ado-type="Varchar" />
            <orm:column name="LoweredEmail" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            <orm:column name="LastPasswordChangedDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="LastLoginDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="LastLockoutDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="IsLockedOut" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="IsApproved" sql-type="bit" nullable="true" length="0" scale="0" ado-type="Bit" />
            <orm:column name="FailedPasswordAttemptWindowStart" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="FailedPasswordAttemptCount" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="FailedPasswordAnswerAttemptWindowStart" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="FailedPasswordAnswerAttemptCount" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:column name="Email" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            <orm:column name="CreateDate" sql-type="datetime" nullable="true" length="0" scale="0" ado-type="DateTime" />
            <orm:column name="Comment" sql-type="ntext" nullable="true" length="0" scale="0" ado-type="Clob" />
            <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
            <orm:index name="aspnet_Membership_index" clustered="true">
              <orm:column name="ApplicationId" sql-type="uniqueidentifier" nullable="true" length="0" scale="0" ado-type="Guid" />
              <orm:column name="LoweredEmail" sql-type="nvarchar" nullable="true" length="256" scale="0" ado-type="Varchar" />
            </orm:index>
            <orm:constraint name="ref_aspnt_Mmbrshp_aspnet_Users" destination-table="aspnet_Users">
              <orm:column name="UserId" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="ALNNetworkInfo">
            <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            <orm:column name="NetworkType" sql-type="tinyint" nullable="true" length="0" scale="0" ado-type="Byte" />
            <orm:column name="PrepayAmount" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            <orm:column name="CpaPrice" sql-type="money" nullable="true" length="0" scale="0" ado-type="Decimal" />
            <orm:column name="PixelURL" sql-type="varchar(max)" nullable="true" length="0" scale="0" ado-type="LongVarchar" />
            <orm:column name="CompanyInfoID" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
            <orm:constraint name="FK_ALNNetworkInfo_ASPNetUser" destination-table="aspnet_Users">
              <orm:column name="UserID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" primary-key="true" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
          <orm:table name="PostbackPixel">
            <orm:column name="PixelID" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
            <orm:column name="NetworkID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            <orm:column name="FieldName" sql-type="varchar" nullable="true" length="255" scale="0" ado-type="Varchar" />
            <orm:column name="FieldValue" sql-type="varchar" nullable="true" length="255" scale="0" ado-type="Varchar" />
            <orm:constraint name="FK_PostbackPixel_0" destination-table="aspnet_Users">
              <orm:column name="NetworkID" sql-type="uniqueidentifier" nullable="false" length="0" scale="0" ado-type="Guid" />
            </orm:constraint>
          </orm:table>
        </orm:schema>
      </orm:orm>
      <ModelSettings xmlns="">
        <AppConfigConnectionPropertyName>ORMConnection</AppConfigConnectionPropertyName>
        <AppConfigConnectionString>data source=tcp:u7qismq30e.database.windows.net,1433;initial catalog=Payday;persist security info=True;</AppConfigConnectionString>
        <NamingSettings>
          <ClassRules />
          <FieldRules>
            <AddPrefix>_</AddPrefix>
          </FieldRules>
          <PropertyRules />
        </NamingSettings>
        <CodeGenerationSettings>
          <OutputProjectName>ALNDataLayer</OutputProjectName>
          <OutputProjectFolder>Models\</OutputProjectFolder>
          <OutputPath>Models\</OutputPath>
          <MappingDefinitionType>Attributes</MappingDefinitionType>
        </CodeGenerationSettings>
        <SchemaUpdateSettings>
          <NamePrefix>4</NamePrefix>
          <ExecuteScript>true</ExecuteScript>
          <DeploymentProject>ALNDataLayer</DeploymentProject>
          <DeploymentDirectory>Migrate\</DeploymentDirectory>
          <UpdateDatabaseOperation>Migrate</UpdateDatabaseOperation>
        </SchemaUpdateSettings>
        <BackendConfigurationSettings>
          <BackendConfiguration>
            <Backend>azure</Backend>
            <ProviderName>System.Data.SqlClient</ProviderName>
            <Logging>
              <LogLevel>Verbose</LogLevel>
              <ShowStackTrace>True</ShowStackTrace>
              <MetricStoreSnapshotInterval>0</MetricStoreSnapshotInterval>
            </Logging>
            <SecondLevelCache>
              <Enabled>True</Enabled>
              <CacheQueryResults>True</CacheQueryResults>
            </SecondLevelCache>
          </BackendConfiguration>
        </BackendConfigurationSettings>
      </ModelSettings>
      <Types>
        <DomainClass Id="ae229906-62f0-4224-817b-1b3413052cd2" name="Supression" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="01347160-6efe-461c-ac35-e507da16e391" name="ID" type="Int32" label="ID : Int32" kind="Persistent" identity="true" fieldName="_ID" />
          <Property Id="9c9faff7-f5ec-4564-9d34-21e441eb8316" name="CampaignID" type="Int32" label="CampaignID : Int32" kind="Persistent" fieldName="_CampaignID" />
          <Property Id="940b7eea-eb57-4b2a-8877-23d9a564ed08" name="Email" label="Email : String" kind="Persistent" fieldName="_Email" />
          <Property Id="c50b95b2-b46e-4db3-9058-a3b9dfb4dcfc" name="Telephone" label="Telephone : String" kind="Persistent" fieldName="_Telephone" />
          <AssociationTargets>
            <Association Id="c9ac46f0-8888-4e8c-8c74-3836fa932b40" SourceMultiplicity="ZeroOne" name="SupressionHasALNCampaignInfo">
              <DomainClassMoniker name="/ALNContext/Campaign" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="a4bbe364-0d58-453a-95d7-f7400dace14e">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/SupressionList" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="3bb0d28f-3d68-4d4f-a089-40e5fd789fef" name="Creative" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="991bc177-894e-46ea-a347-240843ec7853" name="CreativeID" type="Int32" label="CreativeID : Int32" kind="Persistent" identity="true" fieldName="_CreativeID" />
          <Property Id="523d1f0f-e36a-4b7a-9e47-e9fafc211bfa" name="CampaignID" type="Int32" label="CampaignID : Int32" kind="Persistent" fieldName="_CampaignID" />
          <Property Id="0d4c20dc-1532-45ce-80df-395f53ac8351" name="CreativeLink" label="CreativeLink : String" kind="Persistent" fieldName="_CreativeLink" />
          <Property Id="40401292-0c2a-4678-93f6-23080bc4793c" name="CreativeType" type="ALNDataLayer.Enums.Creative_Type" label="CreativeType : ALNDataLayer.Enums.Creative_Type" kind="Persistent" fieldName="_CreativeType" />
          <Property Id="9e24291f-1e94-4d08-bc68-9e16931368e3" name="Description" label="Description : String" kind="Persistent" fieldName="_Description" />
          <Property Id="b74b88ba-48ae-4bf4-9a1b-221d5b6d745e" name="Name" label="Name : String" kind="Persistent" fieldName="_Name" />
          <AssociationTargets>
            <Association Id="866e2f5b-92cc-4d28-a401-073730ff9bb8" SourceMultiplicity="ZeroOne" name="ALNCreativeHasALNCampaignInfo">
              <DomainClassMoniker name="/ALNContext/Campaign" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="cb52ef57-7ada-4d5e-8bc6-64d4467151b6">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/Creatives" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="9bfbd326-e985-4241-b73c-dfa328e57557" name="CompanyInfo" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="30ae31df-8bb4-43a8-bf1b-7ad2f2beae1b" name="CompanyInfoID" type="Int32" label="CompanyInfoID : Int32" kind="Persistent" identity="true" fieldName="_CompanyInfoID" />
          <Property Id="d4cacbc2-6a1e-4c96-b000-4926a8324ac7" name="AddressInfoID" type="Int32" label="AddressInfoID : Int32" nullable="true" kind="Persistent" fieldName="_AddressInfoID" />
          <Property Id="57433211-2c11-4b73-b2a5-c3a607bd6fe7" name="CompanyName" label="CompanyName : String" kind="Persistent" fieldName="_CompanyName" />
          <Property Id="206722c3-0d40-4501-baf4-e1bd3a395044" name="CompanyType" type="ALNDataLayer.Enums.Entity_Type" label="CompanyType : ALNDataLayer.Enums.Entity_Type" kind="Persistent" fieldName="_CompanyType" />
          <Property Id="eba971c6-c38a-4424-8c45-8c3e048cb439" name="EIN" label="EIN : String" kind="Persistent" fieldName="_EIN" />
          <AssociationTargets>
            <Association Id="76851926-2c9a-4345-9773-5e89a800cf13" SourceMultiplicity="ZeroOne" name="ALNCompanyInfoHasALNAddressInfo">
              <DomainClassMoniker name="/ALNContext/AddressInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="d110ddbc-c59f-40ae-8906-4bca6a8241f7">
                  <NavigationalPropertyMoniker name="/ALNContext/CompanyInfo/CompanyAddress" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="3018fbbd-48b7-48f6-827c-ebaa4c4300c9">
              <NavigationalProperty Id="fbf2db83-f710-4641-824f-49b6bf325550" name="CompanyAddress" type="ALNAddressInfo" label="CompanyAddress : ALNAddressInfo" nullable="true" kind="Persistent" fieldName="_ALNAddressInfo" isDependent="true" isManaged="false" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="810b10bc-7502-4519-b7d7-c0a0a94ccc1c" name="CampaignTraffic" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" updateSchema="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="986d861b-0386-4f67-b840-e527b5d56f80" name="EntryID" type="Int32" label="EntryID : Int32" kind="PersistentReadOnly" identity="true" fieldName="_EntryID" />
          <Property Id="5f9637d7-d089-40f1-8e0e-d6454815738b" name="Allowed" type="Boolean" label="Allowed : Boolean" nullable="true" kind="Persistent" fieldName="_Allowed" />
          <Property Id="559bbfdf-5ded-4531-8505-6fb072907cf6" name="CampaignID" type="Int32" label="CampaignID : Int32" kind="Persistent" fieldName="_CampaignID" />
          <Property Id="42fb1d65-fb42-4740-8e33-fb5ed0fc0f83" name="Description" label="Description : String" nullable="true" kind="Persistent" fieldName="_Description" />
          <Property Id="22992e11-85f4-4b78-86a9-e02f59f2fe28" name="TrafficType" type="ALNDataLayer.Enums.Traffic_Type" label="TrafficType : ALNDataLayer.Enums.Traffic_Type" kind="Persistent" fieldName="_TrafficType" />
          <AssociationTargets>
            <Association Id="ae1b053a-900b-40b5-a0f3-c1f907601d4e" SourceMultiplicity="ZeroOne" name="CampaignTrafficHasCampaign">
              <DomainClassMoniker name="/ALNContext/Campaign" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="bd10e97a-8a7b-4307-9005-3e9d7cac4a84">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/AllowedTraffic" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="14693a28-1305-43a3-bc0d-505c26d0a50e" name="CampaignRestriction" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="301db3de-22dd-421a-bfa8-74c7eed42069" name="RestrictionID" type="Int32" label="RestrictionID : Int32" kind="Persistent" identity="true" fieldName="_RestrictionID" />
          <Property Id="1a301d57-3332-4dff-81bc-a775aee9e64e" name="CampaignID" type="Int32" label="CampaignID : Int32" kind="Persistent" fieldName="_CampaignID" />
          <Property Id="eaaa25d7-bf35-434e-932c-47700c9abf5e" name="Description" label="Description : String" kind="Persistent" fieldName="_Description" />
          <AssociationTargets>
            <Association Id="5c34dc8d-c6d5-4ead-b47d-81340ee8ff8f" SourceMultiplicity="ZeroOne" name="ALNCampaignRestrictionHasALNCampaignInfo">
              <DomainClassMoniker name="/ALNContext/Campaign" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="5537c29b-3360-4940-b250-21c12e2b0a01">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/CampaignRestrictions" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="5ad54305-1b91-4b8e-b9e4-79d5e939e978" name="Campaign" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="b251b555-2679-435d-a16c-36be8397e71b" name="CampaignID" type="Int32" label="CampaignID : Int32" kind="Persistent" identity="true" fieldName="_CampaignID" />
          <Property Id="dc0f8666-338c-4be6-a67c-67b7fc80a35a" name="CampaignVertical" type="ALNDataLayer.Enums.Campaign_Vertical" label="CampaignVertical : ALNDataLayer.Enums.Campaign_Vertical" kind="Persistent" fieldName="_CampaignType" />
          <Property Id="4bd6159d-4efc-4426-bb4c-2e4bbedb6508" name="Description" label="Description : String" kind="Persistent" fieldName="_Description" />
          <Property Id="d76ab3ad-fb6d-4d14-85de-47c93cf2c732" name="EndDate" type="DateTime" label="EndDate : DateTime" nullable="true" kind="Persistent" fieldName="_EndDate" />
          <Property Id="dd90e80f-c0d0-4ca8-a833-589cd6bcbaa5" name="IsActive" type="Boolean" label="IsActive : Boolean" nullable="true" kind="Persistent" fieldName="_IsActive" />
          <Property Id="83809171-226a-44f8-aea0-cd95d9c57813" name="IsExclusive" type="Boolean" label="IsExclusive : Boolean" nullable="true" kind="Persistent" fieldName="_IsExclusive" />
          <Property Id="cfcd1bed-9c14-46d7-af30-ffb7bafb643f" name="ManagerUserID" type="Guid" inheritanceModifier="Final" label="ManagerUserID : Guid" nullable="true" kind="Persistent" fieldName="_ManagerUserID" />
          <Property Id="7373637d-466a-4a0d-9e76-c53f64b4c04f" name="Name" label="Name : String" kind="Persistent" fieldName="_Name" />
          <Property Id="c4e6df01-1677-4999-abbd-7bf4a04cd736" name="PaymentTerms" type="ALNDataLayer.Enums.Pay_Terms" label="PaymentTerms : ALNDataLayer.Enums.Pay_Terms" nullable="true" kind="Persistent" fieldName="_PaymentTerms" />
          <Property Id="33d5cf29-fcc9-4d28-bfa5-dbd23f589b66" name="Payout" type="Decimal" label="Payout : Decimal" nullable="true" kind="Persistent" fieldName="_Payout" />
          <Property Id="b5de8cda-f36d-4ac3-a5f6-3a79bb17c8e4" name="PayoutAction" type="ALNDataLayer.Enums.Payout_Action" label="PayoutAction : ALNDataLayer.Enums.Payout_Action" kind="Persistent" fieldName="_Payoutaction" />
          <Property Id="f733f128-619d-4b2e-bade-83e466d1a92a" name="Pubpayout" type="Decimal" label="Pubpayout : Decimal" nullable="true" kind="Persistent" fieldName="_Pubpayout" />
          <Property Id="c197a534-ce9a-4d98-b0c4-d44ad31c4fde" name="StartDate" type="DateTime" label="StartDate : DateTime" nullable="true" kind="Persistent" fieldName="_StartDate" />
          <AssociationTargets>
            <Association Id="8b3e47e0-a280-4fb6-9e4d-5f55930f0021" SourceMultiplicity="ZeroOne" name="CampaignHasAspnet_User">
              <DomainClassMoniker name="/ALNContext/Aspnet_User" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="25ddb930-946b-47e6-9643-370f5a26183e">
                  <NavigationalPropertyMoniker name="/ALNContext/Aspnet_User/Campaigns" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="c9fde967-10e4-42eb-a3b8-713520dd56c1">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/CampaignManager" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="8313e683-219f-4bbe-a991-8ab0aa8d494e">
              <NavigationalProperty Id="9217cf5c-b3b6-4a4f-8703-b9ada0cbd07c" name="Creatives" type="IList&lt;Creative&gt;" label="Creatives : IList&lt;Creative&gt;" nullable="true" kind="Persistent" fieldName="_Creatives" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="50ea9469-97ad-48d7-a510-7be39566f718">
              <NavigationalProperty Id="1fa0bb61-ac28-44ac-a78d-872089d8f8e2" name="CampaignRestrictions" type="IList&lt;CampaignRestriction&gt;" label="CampaignRestrictions : IList&lt;CampaignRestriction&gt;" nullable="true" kind="Persistent" fieldName="_CampaignRestrictions" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="6924fb80-733b-403d-b8ea-979e49698637">
              <NavigationalProperty Id="424c6c4f-e4f5-40c8-81ac-38ac208b56ce" name="CampaignUsers" type="IList&lt;CampaignUsers&gt;" label="CampaignUsers : IList&lt;CampaignUsers&gt;" nullable="true" kind="Persistent" fieldName="_CampaignUsers" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="3b9b21b1-95d0-4255-b4a4-d0cada4a1afe">
              <NavigationalProperty Id="53339924-69a4-4a7d-8060-29af23c41913" name="AllowedTraffic" type="IList&lt;CampaignTraffic&gt;" label="AllowedTraffic : IList&lt;CampaignTraffic&gt;" nullable="true" kind="Persistent" fieldName="_AllowedTraffic" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="d5cf30d4-f342-43d7-80d0-a53b804d2fc5">
              <NavigationalProperty Id="bd87e3ef-d3db-4db4-8a01-607de89671eb" name="CampaignManager" type="Aspnet_User" label="CampaignManager : Aspnet_User" nullable="true" kind="Persistent" fieldName="_Aspnet_User" isDependent="false" isManaged="false" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="97dcf217-bc45-4880-a847-7d0ac339cc00">
              <NavigationalProperty Id="c456ee2c-65b8-42ee-aefc-f37b2399ef56" name="SupressionList" type="IList&lt;Supression&gt;" label="SupressionList : IList&lt;Supression&gt;" nullable="true" kind="Persistent" fieldName="_Supressions" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="9aa331eb-d6ff-4097-ba47-d2ae9edad113" name="BankingInfo" namespace="ALNDataLayer" inheritanceModifier="Final" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="93ee1291-8172-425c-84aa-7d8af2301bb6" name="BankingInfoID" type="Int32" inheritanceModifier="Final" label="BankingInfoID : Int32" kind="Persistent" identity="true" fieldName="_BankingInfoID" />
          <Property Id="e4110503-ec92-4f3e-ba44-75e85cc1ea2d" name="BankAccountType" type="ALNDataLayer.Enums.Account_Type" inheritanceModifier="Final" label="BankAccountType : ALNDataLayer.Enums.Account_Type" kind="Persistent" fieldName="_AccountType" />
          <Property Id="d47b2f19-0f7b-40bc-9c2c-ef8998203f3f" name="AddressInfoID" type="Int32" inheritanceModifier="Final" label="AddressInfoID : Int32" nullable="true" kind="Persistent" fieldName="_AddressInfoID" />
          <Property Id="1dd119cc-693e-4e54-be3b-3bae3edca8aa" name="BankABA" inheritanceModifier="Final" label="BankABA : String" kind="Persistent" fieldName="_BankABA" />
          <Property Id="20a5a81b-7647-48e2-9833-229be8a31bd9" name="BankAccount" inheritanceModifier="Final" label="BankAccount : String" kind="Persistent" fieldName="_BankAcccount" />
          <Property Id="7c78e0ab-5a02-4479-8da3-d5cd7e0c6394" name="BankName" inheritanceModifier="Final" label="BankName : String" kind="Persistent" fieldName="_BankName" />
          <Property Id="eacc25c6-5a43-4923-bdcd-19c8e750149e" name="BankPhone" inheritanceModifier="Final" label="BankPhone : String" kind="Persistent" fieldName="_BankPhone" />
          <Property Id="c2b20308-cb58-4a70-808d-93d4319ce1f1" name="MonthsAtBank" type="Int32" inheritanceModifier="Final" label="MonthsAtBank : Int32" nullable="true" kind="Persistent" fieldName="_MonthsAtBank" />
          <AssociationTargets>
            <Association Id="3d25b3d0-9a04-4d8c-bcc7-e3464c0131d9" SourceMultiplicity="ZeroOne" name="ALNBankingInfoHasALNAddressInfo">
              <DomainClassMoniker name="/ALNContext/AddressInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="bb4d264f-ca65-4a75-b9d5-5d685c457242">
                  <NavigationalPropertyMoniker name="/ALNContext/BankingInfo/BankAddress" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="075eeeff-065e-4049-b507-1f0a0c03fa76">
              <NavigationalProperty Id="342b3979-56bb-48f6-8088-fdab12e34dae" name="BankAddress" type="ALNAddressInfo" label="BankAddress : ALNAddressInfo" nullable="true" kind="Persistent" fieldName="_ALNAddressInfo" isDependent="false" isManaged="false" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="ce19e4c3-30d9-4e42-8786-3c80f66e64e8" name="AgreementStatus" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="94644c27-f212-4b76-8102-ce47de5e6172" name="AgreementID" type="Int32" label="AgreementID : Int32" identity="true" fieldName="_AgreementID" />
          <Property Id="35c2d68d-ac1f-4ef9-beed-0de02022c080" name="DocumentType" type="ALNDataLayer.Enums.Doc_Type" label="DocumentType : ALNDataLayer.Enums.Doc_Type" kind="Persistent" fieldName="_DocumentType" />
          <Property Id="ef0e1718-7a5f-429e-bea2-17f8c493f85c" name="DocumentURL" label="DocumentURL : String" kind="Persistent" fieldName="_DocumentURL" />
          <Property Id="c452aa56-64de-4b65-860e-60b35e0651b3" name="SigningStatus" type="ALNDataLayer.Enums.Signing_Status" label="SigningStatus : ALNDataLayer.Enums.Signing_Status" kind="Persistent" fieldName="_SigningStatus" />
          <Property Id="e118b706-7dc7-40de-ac85-cf47f28d71de" name="UserID" type="Guid" label="UserID : Guid" kind="Persistent" fieldName="_UserID" />
          <AssociationTargets>
            <Association Id="017760a3-dfeb-45c7-ad53-4aa51f1cfa44" SourceMultiplicity="ZeroOne" name="AgreementStatusHasAspnet_User">
              <DomainClassMoniker name="/ALNContext/Aspnet_User" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="5292c951-8a0b-4e94-90f7-53b28c921386">
                  <NavigationalPropertyMoniker name="/ALNContext/Aspnet_User/Agreements" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="bacadaf2-403a-46f1-beb4-9ff3b045a9db" name="AddressInfo" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="3ef5151f-f34d-4ead-911e-a7ad3354f6d0" name="AddressInfoID" type="Int32" label="AddressInfoID : Int32" kind="Persistent" identity="true" fieldName="_AddressInfoID" />
          <Property Id="02b32564-62df-400a-af63-065e1580eb12" name="Address1" label="Address1 : String" kind="Persistent" fieldName="_Address1" />
          <Property Id="cb6e78b9-07e7-4336-b297-cc49447eeb18" name="Address2" label="Address2 : String" kind="Persistent" fieldName="_Address2" />
          <Property Id="91ad8419-235e-4e87-b7b0-9091ccb9938d" name="BestCallTime" type="ALNDataLayer.Enums.Call_Time" label="BestCallTime : ALNDataLayer.Enums.Call_Time" nullable="true" kind="Persistent" fieldName="_BestCallTime" />
          <Property Id="f14608b8-2057-4472-8afe-45381b18c8ad" name="City" label="City : String" kind="Persistent" fieldName="_City" />
          <Property Id="0551ec56-724b-416a-bb1c-76948d5682b0" name="Country" label="Country : String" kind="Persistent" fieldName="_Country" />
          <Property Id="76326492-1de3-4a7e-a4c1-194c60ca1752" name="MonthsAtAddress" type="Int32" label="MonthsAtAddress : Int32" nullable="true" kind="Persistent" fieldName="_MonthsAtAddress" />
          <Property Id="ebe59d1d-22e9-4a7b-a621-205d31e5b3ee" name="OwnHome" type="Boolean" label="OwnHome : Boolean" nullable="true" kind="Persistent" fieldName="_OwnHome" />
          <Property Id="4954040f-ea6e-4bce-aae5-00141fab041e" name="Phone" label="Phone : String" kind="Persistent" fieldName="_Phone" />
          <Property Id="be083b50-7f2b-446a-a977-f1455873168a" name="State" label="State : String" kind="Persistent" fieldName="_State" />
          <Property Id="7feac373-ea36-497c-965c-5d77106c39db" name="Zip" label="Zip : String" kind="Persistent" fieldName="_Zip" />
        </DomainClass>
        <DomainClass Id="99033e88-3c9b-4fc7-af8e-b896b143b904" name="ALNUserInfo" namespace="ALNDataLayer" inheritanceModifier="Abstract" showPropertiesCompartment="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="b668fd66-9361-4608-a31b-d9d8770cf60a" name="AddressInfoID" type="Int32" label="AddressInfoID : Int32" nullable="true" kind="Persistent" fieldName="_AddressInfoID" />
          <Property Id="05ceaac4-e7b2-4507-a4ce-62c495866f41" name="BankingInfoID" type="Int32" label="BankingInfoID : Int32" nullable="true" kind="Persistent" fieldName="_BankingInfoID" />
          <Property Id="f2ef10eb-afb7-4ef5-bda9-72dad321bf3f" name="FirstName" label="FirstName : String" kind="Persistent" fieldName="_FirstName" />
          <Property Id="ad1f45fc-f10e-4ab0-b970-d63a91e34230" name="LastName" label="LastName : String" kind="Persistent" fieldName="_LastName" />
          <Property Id="76b2425d-c111-4bd2-96c5-1034349be58c" name="Skype" label="Skype : String" kind="Persistent" fieldName="_Skype" />
          <Property Id="6444c1aa-7631-4f7d-9189-382e998305e0" name="UserType" type="ALNDataLayer.Enums.User_Type" label="UserType : ALNDataLayer.Enums.User_Type" nullable="true" kind="Persistent" fieldName="_UserType" />
          <Property Id="69eb03db-fa07-4849-b88f-e895d76e1259" name="VendorID" type="Int32" label="VendorID : Int32" kind="PersistentReadOnly" fieldName="_VendorID" />
          <Property Id="a44fae12-5820-46e0-a261-4b025f754444" name="ManagerUserID" type="Guid" label="ManagerUserID : Guid" />
          <inheritors>
            <inheritance Id="8649eb24-c56c-452b-b72c-8962d3d8ee9d">
              <DomainClassMoniker name="/ALNContext/ALNManager" />
            </inheritance>
            <inheritance Id="2ca1389e-7934-4162-b7bc-e7dd2815ab12">
              <DomainClassMoniker name="/ALNContext/ALNPublisher" />
            </inheritance>
            <inheritance Id="574ed689-7429-4579-9f56-2abe263b92aa">
              <DomainClassMoniker name="/ALNContext/ALNNetwork" />
            </inheritance>
          </inheritors>
          <AssociationTargets>
            <Association Id="6f79c6f6-807f-49b6-b351-0ba83c90c81e" SourceMultiplicity="ZeroOne" name="ALNUserInfoHasBankingInfo">
              <DomainClassMoniker name="/ALNContext/BankingInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="1a43754a-3a07-478b-8767-b7995165b341">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNUserInfo/Banking" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
            <Association Id="c9af9dfc-6b66-4d7a-b620-9e03a227e920" SourceMultiplicity="ZeroOne" name="ALNUserInfoHasAddressInfo">
              <DomainClassMoniker name="/ALNContext/AddressInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="61aa8441-0ab1-4f4b-b08d-99f52ede2de5">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNUserInfo/Address" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
            <Association Id="5900f29b-00d9-4fed-be65-f35851deeb62" SourceMultiplicity="ZeroOne" name="ALNUserInfoHasALNManager">
              <DomainClassMoniker name="/ALNContext/ALNManager" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="dfaae7af-29e9-4334-81a3-25019e41f109">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNManager/ManagedUsers" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="73d2a1d8-0dd3-4be4-a855-ed7d67c265e9">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNUserInfo/AffiliateManager" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="5017722d-bb9c-498b-86eb-2739a5540f40">
              <NavigationalProperty Id="284fea2a-937d-4791-addb-90dee14a31a0" name="Banking" type="BankingInfo" label="Banking : BankingInfo" nullable="true" kind="Persistent" fieldName="_Banking" isDependent="true" isManaged="false" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="b31a98ea-da5f-4618-93b4-bdc802fcbd38">
              <NavigationalProperty Id="3cab3e09-cb81-4312-a4a9-f0680180e41c" name="Address" type="AddressInfo" label="Address : AddressInfo" nullable="true" kind="Persistent" fieldName="_Address" isDependent="true" isManaged="false" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="12dec75d-bc5e-4de0-a8fb-e709ea52fb76">
              <NavigationalProperty Id="eb11595f-ceee-4824-80ed-00c5ecd10207" name="AffiliateManager" type="ALNManager" label="AffiliateManager : ALNManager" nullable="true" kind="Persistent" fieldName="_ALNManager" isDependent="false" isManaged="true" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="567f80be-b0f8-4977-8bbd-6ac092548d4c" name="Aspnet_User" namespace="ALNDataLayer" inheritanceModifier="Abstract" showPropertiesCompartment="true" identityMechanism="Guid" concurrencyMode="Changed" concurrencyMember="&lt; AUTO &gt;" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="bcef06eb-84cd-4eba-966c-96b42f87beec" name="UserID" type="Guid" label="UserID : Guid" kind="Persistent" identity="true" fieldName="_UserId" />
          <Property Id="de80c1eb-edd3-4d20-bb48-abe883a23de7" name="ApplicationId" type="Guid" label="ApplicationId : Guid" kind="Persistent" fieldName="_ApplicationId" />
          <Property Id="705430df-18ae-49a6-ab77-9671d4851c15" name="IsAnonymous" type="Boolean" label="IsAnonymous : Boolean" kind="Persistent" fieldName="_IsAnonymous" />
          <Property Id="fcb4cb0f-fb54-4c45-84ff-ba6899f3ccf8" name="LastActivityDate" type="DateTime" label="LastActivityDate : DateTime" kind="Persistent" fieldName="_LastActivityDate" />
          <Property Id="93eddba5-18cd-46b5-b8e5-2d767272664a" name="LoweredUserName" label="LoweredUserName : String" kind="Persistent" fieldName="_LoweredUserName" />
          <Property Id="a70a417b-178c-437f-8fbb-a6f75dc51ff9" name="MobileAlias" label="MobileAlias : String" kind="Persistent" fieldName="_MobileAlias" />
          <Property Id="407ad7c3-8d48-4548-a031-20f23250a277" name="UserName" label="UserName : String" kind="Persistent" fieldName="_UserName" />
          <inheritors>
            <inheritance Id="40a051fa-3964-4e2f-8c73-355deb8d0265">
              <DomainClassMoniker name="/ALNContext/Aspnet_Membership" />
            </inheritance>
          </inheritors>
          <navigationalProperties>
            <classHasNavigationalProperties Id="37f4221c-1675-44af-bd00-8f7f45595e8d">
              <NavigationalProperty Id="c5f46292-e9b0-4dbf-a3c3-47baba5199ae" name="Agreements" type="IList&lt;AgreementStatus&gt;" label="Agreements : IList&lt;AgreementStatus&gt;" nullable="true" kind="Persistent" loadBehavior="Eager" fieldName="_Agreements" isDependent="true" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="42515ea0-b119-4604-ac66-898430f05c2d">
              <NavigationalProperty Id="aac5d157-1832-4f5c-bcc1-9082cb94644b" name="Notifications" type="IList&lt;ALNNotification&gt;" label="Notifications : IList&lt;ALNNotification&gt;" nullable="true" kind="Persistent" fieldName="_ALNNotifications" isDependent="false" isManaged="false" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="ed35562d-663e-4c32-a696-655e86c3a35c">
              <NavigationalProperty Id="cc2258ca-eb22-41c0-9e24-bdb059390133" name="PostbackFields" type="IList&lt;PostbackFields&gt;" label="PostbackFields : IList&lt;PostbackFields&gt;" nullable="true" kind="Persistent" fieldName="_PostbackFields" isDependent="false" isManaged="true" />
            </classHasNavigationalProperties>
            <classHasNavigationalProperties Id="1cdd63d8-92f1-4268-a72b-ba261c4f6e86">
              <NavigationalProperty Id="ed293167-353b-4b13-8ac3-df3b852ad14b" name="Campaigns" type="IList&lt;Campaign&gt;" label="Campaigns : IList&lt;Campaign&gt;" nullable="true" kind="Persistent" fieldName="_Campaigns" isDependent="false" isManaged="true" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="b28f1fca-65e9-4337-ab8a-c7c5a59b460e" name="Aspnet_Membership" namespace="ALNDataLayer" inheritanceModifier="Abstract" showPropertiesCompartment="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="72b74fdc-0267-477d-942a-11cbb7bb779a" name="ApplicationId" type="Guid" label="ApplicationId : Guid" nullable="true" kind="Persistent" fieldName="_ApplicationId" />
          <Property Id="668dfafc-eff1-46cf-b14b-fa7f63a3f8c2" name="Comment" label="Comment : String" kind="Persistent" fieldName="_Comment" />
          <Property Id="44de17e5-c665-4f82-ba12-311624771020" name="CreateDate" type="DateTime" label="CreateDate : DateTime" nullable="true" kind="Persistent" fieldName="_CreateDate" />
          <Property Id="78b8651f-01c9-41bf-b12e-dbf93723a575" name="Email" label="Email : String" kind="Persistent" fieldName="_Email" />
          <Property Id="19348249-f96b-4f12-885e-d5956aed2468" name="FailedPasswordAnswerAttemptCount" type="Int32" label="FailedPasswordAnswerAttemptCount : Int32" nullable="true" kind="Persistent" fieldName="_FailedPasswordAnswerAttemptCount" />
          <Property Id="6e29ea01-a09e-4d9c-b4b4-12d45a5fd475" name="FailedPasswordAnswerAttemptWindowStart" type="DateTime" label="FailedPasswordAnswerAttemptWindowStart : DateTime" nullable="true" kind="Persistent" fieldName="_FailedPasswordAnswerAttemptWindowStart" />
          <Property Id="57507675-93f2-4f47-9061-6d115ae4411e" name="FailedPasswordAttemptCount" type="Int32" label="FailedPasswordAttemptCount : Int32" nullable="true" kind="Persistent" fieldName="_FailedPasswordAttemptCount" />
          <Property Id="622a2140-950b-4c0c-b7ed-d6a1f97c3e79" name="FailedPasswordAttemptWindowStart" type="DateTime" label="FailedPasswordAttemptWindowStart : DateTime" nullable="true" kind="Persistent" fieldName="_FailedPasswordAttemptWindowStart" />
          <Property Id="035bbc76-f0fb-4496-9609-0b8fb2f4562b" name="IsApproved" type="Boolean" label="IsApproved : Boolean" nullable="true" kind="Persistent" fieldName="_IsApproved" />
          <Property Id="3988dab6-56ea-4b1a-b4ee-dab9db9fed37" name="IsLockedOut" type="Boolean" label="IsLockedOut : Boolean" nullable="true" kind="Persistent" fieldName="_IsLockedOut" />
          <Property Id="17ffad9b-6586-4b8b-828d-88001da0cb18" name="LastLockoutDate" type="DateTime" label="LastLockoutDate : DateTime" nullable="true" kind="Persistent" fieldName="_LastLockoutDate" />
          <Property Id="357b185a-caf4-4f74-b679-d88866856afa" name="LastLoginDate" type="DateTime" label="LastLoginDate : DateTime" nullable="true" kind="Persistent" fieldName="_LastLoginDate" />
          <Property Id="51c2d999-a91c-41b9-aba2-0d68d1f73013" name="LastPasswordChangedDate" type="DateTime" label="LastPasswordChangedDate : DateTime" nullable="true" kind="Persistent" fieldName="_LastPasswordChangedDate" />
          <Property Id="2d2e1ef7-5882-4bc4-bfc5-61c692b8c546" name="LoweredEmail" label="LoweredEmail : String" kind="Persistent" fieldName="_LoweredEmail" />
          <Property Id="9d966573-5529-4c53-a651-2c856a0113ed" name="MobilePIN" label="MobilePIN : String" kind="Persistent" fieldName="_MobilePIN" />
          <Property Id="63cd8f5f-2179-4e0b-98c9-be242d73189d" name="Password" label="Password : String" kind="Persistent" fieldName="_Password" />
          <Property Id="c63e4284-e3dc-488f-b8ad-8a9dc2229f4e" name="PasswordAnswer" label="PasswordAnswer : String" kind="Persistent" fieldName="_PasswordAnswer" />
          <Property Id="e24bdc18-0e79-4a31-9165-1d8f2d7949aa" name="PasswordFormat" type="Int32" label="PasswordFormat : Int32" nullable="true" kind="Persistent" fieldName="_PasswordFormat" />
          <Property Id="0b536ff8-420a-4f1d-9419-647da8bcbdec" name="PasswordQuestion" label="PasswordQuestion : String" kind="Persistent" fieldName="_PasswordQuestion" />
          <Property Id="8b4815e1-fc6a-4bde-a8ee-93896caafd35" name="PasswordSalt" label="PasswordSalt : String" kind="Persistent" fieldName="_PasswordSalt" />
          <inheritors>
            <inheritance Id="2ca19158-bb75-4eb6-899f-7dcaf77b1ace">
              <DomainClassMoniker name="/ALNContext/ALNUserInfo" />
            </inheritance>
          </inheritors>
        </DomainClass>
        <DomainClass Id="fdee8775-59c2-40a1-bb57-0d626cb9022d" name="ALNManager" namespace="ALNDataLayer" inheritanceModifier="Final" showPropertiesCompartment="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="8cc062a6-1f37-4387-a40c-20169aac7b1c" name="Commission" type="Int64" inheritanceModifier="Final" label="Commission : Int64" nullable="true" kind="Persistent" fieldName="_Commission" />
          <Property Id="5a513b8e-ec22-4507-9005-ae972c012ab2" name="PhotoURL" inheritanceModifier="Final" label="PhotoURL : String" kind="Persistent" fieldName="_PhotoURL" />
          <navigationalProperties>
            <classHasNavigationalProperties Id="f3cddd67-7d4c-4e9d-8c00-16cd5fa8f601">
              <NavigationalProperty Id="1e5a301e-421a-4b9e-98c2-b69d2c347a40" name="ManagedUsers" type="IList&lt;ALNUserInfo&gt;" label="ManagedUsers : IList&lt;ALNUserInfo&gt;" nullable="true" kind="Persistent" fieldName="_ALNUserInfos" isDependent="false" isManaged="true" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="c1364828-37e1-41dc-8367-b174a0893799" name="ALNPublisher" namespace="ALNDataLayer" showPropertiesCompartment="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="4bffafda-4bc3-43e0-bd22-f5349bea5637" name="CompanyInfoID" type="Int32" inheritanceModifier="Final" label="CompanyInfoID : Int32" nullable="true" kind="Persistent" fieldName="_CompanyInfoID" />
          <Property Id="59c012f3-b74c-483d-b919-b31cdb509501" name="RevShare" type="Int64" inheritanceModifier="Final" label="RevShare : Int64" nullable="true" kind="Persistent" fieldName="_RevShare" />
          <Property Id="4d5e9d5a-91d0-470f-9832-b18e37a214b2" name="Traffic" inheritanceModifier="Final" label="Traffic : String" kind="Persistent" fieldName="_Traffic" />
          <Property Id="99ce4413-a206-4f75-9189-dea6b2b769f7" name="WebSite" inheritanceModifier="Final" label="WebSite : String" kind="Persistent" fieldName="_WebSite" />
          <AssociationTargets>
            <Association Id="4e4262ae-882e-4253-aeae-0c3823b5e1d2" SourceMultiplicity="ZeroOne" name="ALNPublisherInfoHasCompanyInfo">
              <DomainClassMoniker name="/ALNContext/CompanyInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="1b0e5eb1-905c-4115-91c6-405587ebb24e">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNPublisher/Company" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="5d4ab9fb-8084-4b03-9d49-e15a36cb4ec2">
              <NavigationalProperty Id="c34069ec-09ce-4303-bd19-6790f710aed1" name="Company" type="CompanyInfo" label="Company : CompanyInfo" nullable="true" kind="Persistent" fieldName="_CompanyInfo" isDependent="false" isManaged="true" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="aac27741-7004-437d-b3dc-5d44577924d2" name="ALNNotification" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" concurrencyMember="&lt; AUTO &gt;" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="a3c080f5-a5e9-439c-8e1c-db022017dbda" name="ID" type="Int32" label="ID : Int32" kind="Persistent" identity="true" fieldName="_ID" />
          <Property Id="6bab417a-e44a-4e3a-bc9b-70c29ba6a465" name="EntryDate" type="DateTime" label="EntryDate : DateTime" nullable="true" kind="Persistent" fieldName="_EntryDate" />
          <Property Id="46761ba2-f6e2-4744-9791-c4f3aadfe33f" name="Message" label="Message : String" kind="Persistent" fieldName="_Message" />
          <Property Id="0ec16856-431a-4894-b717-35deec9ac1e4" name="UserID" type="Guid" label="UserID : Guid" nullable="true" kind="Persistent" fieldName="_Recipient" />
          <AssociationTargets>
            <Association Id="092687c5-91cf-4462-a37e-4c5180b571f8" SourceMultiplicity="ZeroOne" name="ALNNotificationHasAspnet_User">
              <DomainClassMoniker name="/ALNContext/Aspnet_User" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="236b0bd0-1c70-4f99-abe6-a6b7d684eafe">
                  <NavigationalPropertyMoniker name="/ALNContext/Aspnet_User/Notifications" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="c06ef0b3-6f3b-417a-9331-cdcbc1500b11">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNNotification/Recipient" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="72d14529-8007-423c-be8d-93ec25f83e3d">
              <NavigationalProperty Id="0c8507b6-e69d-44b4-9847-26659515e175" name="Recipient" type="Aspnet_User" label="Recipient : Aspnet_User" nullable="true" kind="Persistent" fieldName="_Aspnet_User" isDependent="false" isManaged="false" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="d86f81a3-00bc-4639-b9f6-b26eff078d55" name="ALNNetwork" namespace="ALNDataLayer" inheritanceModifier="Final" showPropertiesCompartment="true" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="89206f05-3100-4823-b3db-85cc74e1379d" name="CompanyInfoID" type="Int32" inheritanceModifier="Final" label="CompanyInfoID : Int32" kind="Persistent" fieldName="_CompanyInfoID" />
          <Property Id="23f4ffef-6fb1-4416-84c4-b47ef41697ea" name="NetworkType" type="Byte" inheritanceModifier="Final" label="NetworkType : Byte" kind="Persistent" fieldName="_NetworkType" />
          <Property Id="4e9b3cce-b949-4c13-843c-da4d8242f0ca" name="PrepayAmount" type="decimal" inheritanceModifier="Final" label="PrepayAmount : decimal" kind="Persistent" fieldName="_PrepayAmount" />
          <Property Id="c1cf88d5-cbde-4e8b-a43b-cf7ca523a651" name="CpaPrice" type="decimal" inheritanceModifier="Final" label="CpaPrice : decimal" kind="Persistent" fieldName="_CpaPrice" />
          <Property Id="70450bce-8eed-494c-85db-44e868995c0b" name="PixelURL" inheritanceModifier="Final" label="PixelURL : String" kind="Persistent" fieldName="_PixelURL" />
          <AssociationTargets>
            <Association Id="152afabd-82b0-4651-9a0e-b61d84d9dad7" SourceMultiplicity="ZeroOne" name="ALNNetworkHasCompanyInfo">
              <DomainClassMoniker name="/ALNContext/CompanyInfo" />
              <sourceNavigationalProperty>
                <associationDefinesSourceProperty Id="8a2f949a-5c90-4cae-b64c-0156530d5d25">
                  <NavigationalPropertyMoniker name="/ALNContext/ALNNetwork/Company" />
                </associationDefinesSourceProperty>
              </sourceNavigationalProperty>
            </Association>
          </AssociationTargets>
          <navigationalProperties>
            <classHasNavigationalProperties Id="85ddf1ee-e0b1-4c8d-94d3-609818ea230d">
              <NavigationalProperty Id="fd13e100-f629-4d41-9c40-db6ff7ee8e70" name="Company" type="CompanyInfo" label="Company : CompanyInfo" nullable="true" kind="Persistent" fieldName="_Company" isDependent="true" isManaged="false" />
            </classHasNavigationalProperties>
          </navigationalProperties>
        </DomainClass>
        <DomainClass Id="8f1a9e0c-5fce-492f-b465-58b99883eb0b" name="PostbackFields" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="1fa53544-1271-4387-8d40-7239c9ba6cd5" name="PixelID" type="System.Int32" label="PixelID : System.Int32" kind="Persistent" identity="true" fieldName="_PixelID" />
          <Property Id="851299c4-9c71-4db9-924a-83e6f70512a2" name="FieldName" label="FieldName : String" kind="Persistent" fieldName="_FieldName" />
          <Property Id="039badeb-c43a-4586-9aeb-900e91a9f7f6" name="FieldValue" label="FieldValue : String" kind="Persistent" fieldName="_FieldValue" />
          <Property Id="cf823193-de3b-4935-8c72-1086298f8abe" name="NetworkID" type="Guid" label="NetworkID : Guid" kind="Persistent" fieldName="_NetworkID" />
          <AssociationTargets>
            <Association Id="19dae0f5-a8a4-459a-9d43-4648db730f81" SourceMultiplicity="ZeroOne" name="PostbackFieldsHasAspnet_User">
              <DomainClassMoniker name="/ALNContext/Aspnet_User" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="457e4b7c-00b1-4db4-9959-e6a667209b80">
                  <NavigationalPropertyMoniker name="/ALNContext/Aspnet_User/PostbackFields" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
        <DomainClass Id="489d6429-0362-4e04-ae0a-779fdb9846e2" name="CampaignUsers" namespace="ALNDataLayer" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" showNavigationCompartment="true" showImplementationCompartment="true">
          <Property Id="109c6496-2f6d-4cbd-a81f-8c045cd8a9f0" name="EntryID" type="System.Int32" label="EntryID : System.Int32" identity="true" fieldName="_EntryID" />
          <Property Id="50077568-f845-46f6-acbd-730f0ab08e09" name="UserID" type="Guid" label="UserID : Guid" fieldName="_UserID" />
          <Property Id="be6271c1-2cdf-4339-9e25-d21496c0ef6c" name="CampaignID" type="Int32" label="CampaignID : Int32" fieldName="_CampaignID" />
          <AssociationTargets>
            <Association Id="5cc9faa7-d1d8-4b05-a80c-8208c09e395f" SourceMultiplicity="ZeroOne" name="CampaignUsersHasCampaign">
              <DomainClassMoniker name="/ALNContext/Campaign" />
              <targetNavigationalProperty>
                <associationDefinesTargetProperty Id="e8087157-9f93-4c13-9634-54e0399e3011">
                  <NavigationalPropertyMoniker name="/ALNContext/Campaign/CampaignUsers" />
                </associationDefinesTargetProperty>
              </targetNavigationalProperty>
            </Association>
          </AssociationTargets>
        </DomainClass>
      </Types>
      <domainContext>
        <domainModelHasDomainContext Id="e94f5287-5a65-458e-9c0c-a835d1fb1253">
          <domainContainer name="ALNContext" namespace="ALNDataLayer" showPropertiesCompartment="true">
            <entitySetProperty name="Supressions" namespace="ALNDataLayer" type="Supression" label="Supressions : IQueryable&lt;ALNDataLayer.Supression&gt;" />
            <entitySetProperty name="Creatives" namespace="ALNDataLayer" type="Creative" label="Creatives : IQueryable&lt;ALNDataLayer.Creative&gt;" />
            <entitySetProperty name="CompanyInfos" namespace="ALNDataLayer" type="CompanyInfo" label="CompanyInfos : IQueryable&lt;ALNDataLayer.CompanyInfo&gt;" />
            <entitySetProperty name="CampaignTraffics" namespace="ALNDataLayer" type="CampaignTraffic" label="CampaignTraffics : IQueryable&lt;ALNDataLayer.CampaignTraffic&gt;" />
            <entitySetProperty name="CampaignRestrictions" namespace="ALNDataLayer" type="CampaignRestriction" label="CampaignRestrictions : IQueryable&lt;ALNDataLayer.CampaignRestriction&gt;" />
            <entitySetProperty name="Campaigns" namespace="ALNDataLayer" type="Campaign" label="Campaigns : IQueryable&lt;ALNDataLayer.Campaign&gt;" />
            <entitySetProperty name="BankingInfos" namespace="ALNDataLayer" type="BankingInfo" label="BankingInfos : IQueryable&lt;ALNDataLayer.BankingInfo&gt;" />
            <entitySetProperty name="AgreementStatus" namespace="ALNDataLayer" type="AgreementStatus" label="AgreementStatus : IQueryable&lt;ALNDataLayer.AgreementStatus&gt;" />
            <entitySetProperty name="AddressInfos" namespace="ALNDataLayer" type="AddressInfo" label="AddressInfos : IQueryable&lt;ALNDataLayer.AddressInfo&gt;" />
            <entitySetProperty name="ALNUserInfos" namespace="ALNDataLayer" type="ALNUserInfo" label="ALNUserInfos : IQueryable&lt;ALNDataLayer.ALNUserInfo&gt;" />
            <entitySetProperty name="Aspnet_Users" namespace="ALNDataLayer" type="Aspnet_User" label="Aspnet_Users : IQueryable&lt;ALNDataLayer.Aspnet_User&gt;" />
            <entitySetProperty name="Aspnet_Memberships" namespace="ALNDataLayer" type="Aspnet_Membership" label="Aspnet_Memberships : IQueryable&lt;ALNDataLayer.Aspnet_Membership&gt;" />
            <entitySetProperty name="ALNManagers" namespace="ALNDataLayer" type="ALNManager" label="ALNManagers : IQueryable&lt;ALNDataLayer.ALNManager&gt;" />
            <entitySetProperty name="ALNPublishers" namespace="ALNDataLayer" type="ALNPublisher" label="ALNPublishers : IQueryable&lt;ALNDataLayer.ALNPublisher&gt;" />
            <entitySetProperty name="ALNNotifications" namespace="ALNDataLayer" type="ALNNotification" label="ALNNotifications : IQueryable&lt;ALNDataLayer.ALNNotification&gt;" />
            <entitySetProperty name="ALNNetworks" namespace="ALNDataLayer" type="ALNNetwork" label="ALNNetworks : IQueryable&lt;ALNDataLayer.ALNNetwork&gt;" />
            <entitySetProperty name="PostbackFields" namespace="ALNDataLayer" type="PostbackFields" label="PostbackFields : IQueryable&lt;ALNDataLayer.PostbackFields&gt;" />
            <entitySetProperty name="CampaignUsers" namespace="ALNDataLayer" type="CampaignUsers" label="CampaignUsers : IQueryable&lt;ALNDataLayer.CampaignUsers&gt;" />
          </domainContainer>
        </domainModelHasDomainContext>
      </domainContext>
    </DomainModel>
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 16 May 2012 Link to this post

    Hello Jand,

    Thank you for the detailed information. From the stack trace I see that you are using attributes as mapping source. As a first step, I suggest you to switch to XML mapping and see if the problem persists. The mapping type can be changed from the Code Generation tab of the Model Settings dialog.
    In the meantime we will start investigating the problem in the attributes mapping.

    All the best,
    Alexander
    the Telerik team
    Follow @OpenAccessORM Twitter channel to get first the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
  3. DevCraft banner
Back to Top