示例#1
0
        private static void Delete(string entityName)
        {
            Guid typeIdParseResult = TryParseProperty.TryParseGuidProperty(Localize.PropertyTypeId, entityName);

            Console.WriteLine(Localize.Deleting + "...");
            try
            {
                CRUDOperations.DeleteEntity(typeIdParseResult);
                Console.WriteLine(String.Format(Localize.Done, entityName, Localize.Deleted));
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }