Skip to content

Commit

Permalink
Updates resx to use standard TT.
Browse files Browse the repository at this point in the history
  • Loading branch information
anpete committed Feb 14, 2014
1 parent ee9b6f6 commit 7c15786
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 155 deletions.
1 change: 0 additions & 1 deletion src/Microsoft.Data.Entity/EntityConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using JetBrains.Annotations;
using Microsoft.AspNet.DependencyInjection;
using Microsoft.Data.Entity.Resources;
using Microsoft.Data.Entity.Utilities;

namespace Microsoft.Data.Entity
Expand Down
59 changes: 59 additions & 0 deletions src/Microsoft.Data.Entity/Properties/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ArgumentIsNullOrWhitespace" xml:space="preserve">
<value>The argument '{0}' cannot be null, empty or contain only white space.</value>
<value>The argument '{argumentName}' cannot be null, empty or contain only white space.</value>
</data>
<data name="InvalidPropertiesExpression" xml:space="preserve">
<value>The properties expression '{0}' is not valid. The expression should represent a property access: 't =&gt; t.MyProperty'. When specifying multiple properties use an anonymous type: 't =&gt; new {{ t.MyProperty1, t.MyProperty2 }}'.</value>
<value>The properties expression '{expression}' is not valid. The expression should represent a property access: 't =&gt; t.MyProperty'. When specifying multiple properties use an anonymous type: 't =&gt; new {{ t.MyProperty1, t.MyProperty2 }}'.</value>
</data>
<data name="InvalidPropertyExpression" xml:space="preserve">
<value>The expression '{0}' is not a valid property expression. The expression should represent a property access: 't =&gt; t.MyProperty'.</value>
<value>The expression '{expression}' is not a valid property expression. The expression should represent a property access: 't =&gt; t.MyProperty'.</value>
</data>
<data name="MissingConfigurationItem" xml:space="preserve">
<value>The EntityConfiguration property '{0}' has not been set.</value>
<value>The EntityConfiguration property '{propertyName}' has not been set.</value>
</data>
</root>
55 changes: 0 additions & 55 deletions src/Microsoft.Data.Entity/Resources/Resources.cs

This file was deleted.

91 changes: 0 additions & 91 deletions src/Microsoft.Data.Entity/Resources/Resources.tt

This file was deleted.

1 change: 0 additions & 1 deletion src/Microsoft.Data.Entity/Utilities/Check.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using System.Diagnostics;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Resources;

namespace Microsoft.Data.Entity.Utilities
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.Data.Entity.Resources;

namespace Microsoft.Data.Entity.Utilities
{
Expand Down
3 changes: 3 additions & 0 deletions src/Microsoft.Data.SqlServer/ApiExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

using System.IO;
using JetBrains.Annotations;
using Microsoft.Data.Entity;

Expand All @@ -12,6 +13,8 @@ public static EntityContext CreateContext(
{
entityConfiguration.DataStore = new SqlServerDataStore(nameOrConnectionString);



return new EntityContext(entityConfiguration);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

using System;
using Microsoft.AspNet.DependencyInjection;
using Microsoft.Data.Entity.Resources;
using Xunit;

namespace Microsoft.Data.Entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.Data.Entity.Resources;
using Xunit;

namespace Microsoft.Data.Entity.Utilities
Expand Down

0 comments on commit 7c15786

Please sign in to comment.