public SQLServerDbContextRepositoryDataStore(RequestContext context) { this._context = context; this._output = context.Zeus.Output; this._script = context.ScriptSettings; this._util = context.Utility; }
public DefaultDataStoreFactory(RequestContext context) { this._context = context; this._output = context.Zeus.Output; this._util = context.Utility; this._script = context.ScriptSettings; }
public SQLServerLinqToSqlDataStore(RequestContext context) { this._output = context.Zeus.Output; this._script = context.ScriptSettings; this._util = context.Utility; this._context = context; }
public void cleanupproperty_method_removes_underscores_with_underscore_modifier_enabled() { // Arrange CommonUtility util = new CommonUtility(); string input = "test_column"; string expected = ""; // Act string actual = util.CleanUpProperty(input, false, PropertyModifications.Underscore); // Assert Assert.AreEqual(expected, actual); }
public void cleanup_property_returns_underscored_property() { // Arrange CommonUtility util = new CommonUtility(); string propertyToClean = "Patent / Application No. (first-class)"; // Act string actual = util.CleanUpProperty(propertyToClean, false, PropertyModifications.Underscore); string expected = "Patent___Application_No___first_class_"; // Assert Assert.AreEqual(expected, actual); }
public void cleanup_property_returns_compressed_property() { // Arrange CommonUtility util = new CommonUtility(); string propertyToClean = "Patent / Application No. (first-class)"; // Act string actual = util.CleanUpProperty(propertyToClean); string expected = "PatentApplicationNofirstclass"; // Assert Assert.AreEqual(expected, actual); }
public void cleanup_property_removes_underscore_in_original_property() { // Arrange CommonUtility util = new CommonUtility(); string propertyToClean = "Patent / Application_No. (first-class)"; // Act string actual = util.CleanUpProperty(propertyToClean); string expected = "PatentApplicationNofirstclass"; // Assert Assert.AreEqual(expected, actual); }
public EntitySpacesAutoMapperExtensions(RequestContext context) : base(context.Zeus.Output) { this._context = context; this._util = context.Utility; }