/// <summary> /// Deprecated Method for adding a new object to the tblTipoPermissao EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblTipoPermissao(tblTipoPermissao tblTipoPermissao) { base.AddObject("tblTipoPermissao", tblTipoPermissao); }
/// <summary> /// Create a new tblTipoPermissao object. /// </summary> /// <param name="idTipoPermissao">Initial value of the idTipoPermissao property.</param> /// <param name="descricao">Initial value of the descricao property.</param> public static tblTipoPermissao CreatetblTipoPermissao(global::System.Int32 idTipoPermissao, global::System.String descricao) { tblTipoPermissao tblTipoPermissao = new tblTipoPermissao(); tblTipoPermissao.idTipoPermissao = idTipoPermissao; tblTipoPermissao.descricao = descricao; return tblTipoPermissao; }