示例#1
0
        public string GetCollectionName()
        {
            CloudnameAttribute cloudname = GetCloudname();

            if (cloudname != null)
            {
                return(cloudname.CollectionName);
            }

            return(_helpee.GetType().Name.Pluralize());
        }
示例#2
0
        public string GetObjectName()
        {
            CloudnameAttribute cloudname = GetCloudname();

            if (cloudname != null)
            {
                return(cloudname.ObjectName);
            }

            return(_helpee.GetType().Name);
        }