C -Omega looks very "cool"

The more information I see on C-Omega the more intersted in it I get.  Check out Rick Byers recent post on “Comparing a simple select statement in C-omega vs. ADO.NET

      rows = select * from DB.Employees where City == city;             
      foreach( row in rows ) {
        string name = row.LastName.Value;
        int id = row.EmployeeID.Value;
       
Console.WriteLine( id.ToString() + ": " + name);
     
}

 

# re: C -Omega looks very "cool"

Sunday, March 20, 2005 11:13 PM by Darrell    
Dude that's awesome! I often times have had to loop over custom entity collections or datarows to do the same thing that in SQL is so easy. Nice!

# re: C -Omega looks very "cool"

Monday, March 21, 2005 12:15 AM by Steve    
Yeah, it's super sweet :)

# re: C -Omega looks very "cool"

Monday, March 21, 2005 1:18 AM by JosephCooney    
The ide integration with Comega is great too. You get intellisense on your strongly-typed result set just after you finish writing the code. I wrote a little article on Comega here <a target="_new" href="http://jcooney.net/articles/458.aspx">http://jcooney.net/articles/458.aspx</a> I have been meaning to write another one looking at its Xml-ish features.

# re: C -Omega looks very "cool"

Monday, March 21, 2005 3:49 AM by Steve    
Nice, I'll have to take a look.

# re: C -Omega looks very "cool"

Wednesday, March 23, 2005 4:29 AM by Tobin Harris    
That is really impressive! I wonder if you can add methods to objects? Also, it would be cool if you could use reflection to infer contstraints on fields? For example:

public class User : DB.User
{
public void ResetPassword(){
this.password = &quot;abra kadabra&quot;;
}
}

I've been drawing inspiration from Ruby-On-Rails (for the Ruby language), which uses the ActiveRecord pattern and reflection to give very sweet data access! I waffle a little about it on my blog (<a target="_new" href="http://www.tobinharris.com/blog">http://www.tobinharris.com/blog</a>), sorry about shameless plug 8-)

Post a Comment

 
 
Prove you're not a spammer: 
2 + 3 =