Esempio n. 1
0
        public void CreateSelectQueryTest()
        {
            string query = @"SELECT [Id] AS [Id]
      ,[Name] AS [Name]
      ,[Surname] AS [Surname]
      ,[Username] AS [Username]
      ,[Password] AS [Password]
      ,[Email] AS [Email]
      ,[CreatedDate] AS [CreatedDate]
      ,[Active] AS [Active]
FROM [User]";

            string createdQuery = _queryCreator.CreateSelectQuery <User>();

            Assert.Equal(query, createdQuery);
        }