コード例 #1
0
 private void OnListaDeRespostasItem0Sync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <ListaDeRespostasItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.RespostaCerta = this;
     }
     else
     {
         e.Item.RespostaCerta = null;
     }
 }
コード例 #2
0
 private void OnPerguntaSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <PerguntasItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.RespostasItem.Add(this);
     }
     else
     {
         e.Item.RespostasItem.Remove(this);
     }
 }
コード例 #3
0
 private void OnPerguntasItemSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <PerguntasItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.Enquete = this;
     }
     else
     {
         e.Item.Enquete = null;
     }
 }
コード例 #4
0
ファイル: Entities.cs プロジェクト: vaibahv88sharma/Projects
 private void OnEmployeeInProjectSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <EmployeesItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.ProjectsItem.Add(this);
     }
     else
     {
         e.Item.ProjectsItem.Remove(this);
     }
 }
コード例 #5
0
ファイル: Entities.cs プロジェクト: vaibahv88sharma/Projects
 private void OnEmployeesItemSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <EmployeesItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.CurrentLocation = this;
     }
     else
     {
         e.Item.CurrentLocation = null;
     }
 }
コード例 #6
0
ファイル: Entities.cs プロジェクト: vaibahv88sharma/Projects
 private void OnProjectsItemSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <ProjectsItem> e)
 {
     if ((Microsoft.SharePoint.Linq.AssociationChangedState.Added == e.State))
     {
         e.Item.EmployeeInProject = this;
     }
     else
     {
         e.Item.EmployeeInProject = null;
     }
 }
コード例 #7
0
 private void OnProjectsLookupSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs <Item> e)
 {
 }