Esempio n. 1
0
        /// <summary>
        /// Equality
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            ConnectionTable other = obj as ConnectionTable;

            return(this.PartitionKey.Equals(other.PartitionKey) && this.RowKey.Equals(other.RowKey));
        }
Esempio n. 2
0
        internal static bool ContainsRow(CloudTable instanceTable, ConnectionTable entity)
        {
            var temp = GetAll(instanceTable);

            return(temp.Where(gn => entity.Equals(gn)).Count() > 0);
        }