BeginTransaction() public method

public BeginTransaction ( GlymaSessionConfiguration configuration ) : System.Guid
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
return System.Guid
 public Guid BeginTransaction(string callingUrl)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.BeginTransaction(callingUrl);
     }
 }
Example #2
0
 public Guid BeginTransaction(string callingUrl)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.BeginTransaction(callingUrl));
     }
 }
        public Guid BeginTransaction(string callingUrl)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.TransactionRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return(nodeServiceClient.BeginTransaction(configuration));
                }
            }
        }
        public Guid BeginTransaction(string callingUrl)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.TransactionRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return nodeServiceClient.BeginTransaction(configuration);
                }
            }
        }