Category Archives: Team Blog

How-to: Create a new Oracle User

Every now and then I need to create a new Oracle user to test the CodeSmith Generator OracleSchemaProvider. I wanted to outline the steps that I use to create a new user as well as change the password of an existing user. The first step one needs to take is to create a new user …Read More

Ext.ux.JSONP v2.0

The ExtJS library does include a JSONP component, but I found it to be lacking a very important piece of functionality. The Problem: No Error Handler Anyone who know’s anything about JSONP is immediately going to call attention to the fact that JSONP isn’t capable of supporting error handling by design. While that is true, …Read More

Wanted: Entity Framework Suggestions

We have all been waiting for this day to come, and now it is finally here: Entity Framework has finally matured, and it is time to create some CodeSmith Generator templates for EF! We are excited to finally begin this project and we simple can not wait to get started, but first we need your …Read More

Oct 12th is (Insight) Party Time!

We are very excited about our upcoming CodeSmith Insight Launch Party. We rented out the Addison Convention Center, ordered ten old school arcade machines, bought over $1,000 in prizes, booked flights for the entire CodeSmith Tools team is come in from around the country, and now we are counting down until party time! However, there …Read More

Advanced PLINQO Future Queries, Part 2

The immediate uses of PLINQO Future Queries are readily apparent: Do you have multiple queries that need to be executed back to back? Add future to the back of them and save yourself a few database trips.What might not be quite as easy to spot, are those places where using a more advanced design pattern …Read More

Using IndexedEnumerable in CodeSmith 5.1

Let’s take a quick look at a new feature in CodeSmith called IndexedEnumerable. IndexedEnumerable provides a smarter way to iterate collections. The best way to see this is with a quick sample. We will get a list of tables and iterate the collection as an indexedenumerable. <% IndexedEnumerable<TableSchema> tables = SourceDatabase.Tables .Where(t => t.HasPrimaryKey && …Read More