Esempio n. 1
0
        internal void AddEndpoint(string vertexName, string endpointName, bool isInput, bool isAsync)
        {
            // Make the connection information stable
            var            newRow          = new EndpointTable(vertexName, endpointName, isInput, isAsync);
            TableOperation insertOperation = TableOperation.InsertOrReplace(newRow);

            _endpointTable.ExecuteAsync(insertOperation).Wait();
        }
Esempio n. 2
0
        /// <summary>
        /// Equals
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            EndpointTable other = obj as EndpointTable;

            return(this.PartitionKey.Equals(other.PartitionKey) && this.RowKey.Equals(other.RowKey));
        }